isNullRaw
Returns true
if the given object
is strictly null
. Otherwise, returnsfalse
.
const util = require('node:util');
util.isNull(0);
// Returns: false
util.isNull(undefined);
// Returns: false
util.isNull(null);
// Returns: true
Content copied to clipboard
Since
v0.11.5