util.isNull(object)
Stability: 0 - Deprecated
Returns true if the given "object" is strictly null. Otherwise, returns false.
const util = require('util');
util.isNull(0)
// false
util.isNull(undefined)
// false
util.isNull(null)
// true
Please login to continue.