Module: sources/cores/arrays/isArrayOfUndefined

Export function to validate if a value is an array of undefined values or not
Author:
License:
Source:

Example

import { isArrayOfUndefined } from 'itee-validators'

if( isArrayOfUndefined( value ) ) {
    //...
} else {
    //...
}

Methods


<static> isArrayOfUndefined(data)

Check if given data is not an empty array where all values are undefined
Parameters:
Name Type Description
data * The data to check against the array of undefined
Source:
Returns:
true if data is not an empty array where all values are undefined, false otherwise
Type
boolean

<static> isNotArrayOfUndefined(data)

Check if given data is not an empty array where all values are defined
Parameters:
Name Type Description
data * The data to check against the array of undefined
Source:
Returns:
true if data is not an empty array where all values are defined, false otherwise
Type
boolean