Module: sources/cores/arrays/isArrayOfArray

Export function to validate if a value is an array of array or not
Author:
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
Source:
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
Source:
Returns:
true if data is not an array of array, false otherwise
Type
boolean