Tests if a value is undefined or null.
undefined
null
value to test
boolean indicating whether value is undefined
var bool = isUndefinedOrNull( undefined ); // returns true bool = isUndefinedOrNull( null ); // returns true bool = isUndefinedOrNull( false ); // returns false
Tests if a value is
undefined
ornull
.