time-to-botec/js/node_modules/@stdlib/assert/is-undefined-or-null/docs/repl.txt

27 lines
421 B
Plaintext
Raw Normal View History

{{alias}}( value )
Tests if a value is undefined or null.
Parameters
----------
value: any
Value to test.
Returns
-------
bool: boolean
Boolean indicating whether value is undefined or null.
Examples
--------
> var bool = {{alias}}( void 0 )
true
> bool = {{alias}}( null )
true
> bool = {{alias}}( false )
false
See Also
--------