Export function to validate if a value is an array of array or not
- License:
- Source:
Example
import { isArrayOfArray } from 'itee-validators' if( isArrayOfArray( value ) ) { //... } else { //... }
Methods
-
<static> isArrayOfArray(data)
-
Check if given data is an array of array
Parameters:
Name Type Description data
* The data to check against the array of array type Returns:
true if data is an array of array, false otherwise- Type
- boolean
-
<static> isNotArrayOfArray(data)
-
Check if given data is not an array of array
Parameters:
Name Type Description data
* The data to check against the array of array type Returns:
true if data is not an array of array, false otherwise- Type
- boolean