0.0.1 • Published 8 years ago
@nathanfaucett/is_null_or_undefined v0.0.1
isNullOrUndefined
isNullOrUndefined accepts any value and returns true if the value is null or undefined.
For all other values false is returned.
param {Any} any value to test
returns {Boolean} the boolean result of testing value
isNullOrUndefined(null); // returns true
isNullOrUndefined(undefined); // returns true
isNullOrUndefined("string"); // returns false
``
0.0.1
8 years ago