Export function to validate if a value is a void
- License:
- Source:
Example
import { isNull } from 'itee-validators' if( isNull( value ) ) { //... } else { //... }
Methods
-
<static> isNotUndefined(data)
-
Check if given data is defined
Parameters:
Name Type Description data
* The data to check against the undefiness Returns:
true if data is defined, false otherwise.- Type
- boolean
-
<static> isUndefined(data)
-
Check if given data is undefined
Parameters:
Name Type Description data
* The data to check against the undefiness Returns:
true if data is undefined, false otherwise.- Type
- boolean