Returns true
if the given object
is strictly null
. Otherwise, returnsfalse
.
const util = require('util');
util.isNull(0);
// Returns: false
util.isNull(undefined);
// Returns: false
util.isNull(null);
// Returns: true
Since v4.0.0 - Use value === null
instead.
Generated using TypeDoc
Returns
true
if the givenobject
is strictlynull
. Otherwise, returnsfalse
.Deprecated
Since v4.0.0 - Use
value === null
instead.