Checks if a value is null
value
null
The opposite of isNotNull
const result = isNull(null);console.log(result); // true
const result = isNull(0);console.log(result); // false
true if value is null, otherwise false
true
false
the value to check
Generated using TypeDoc
Checks if a
valueisnullThe opposite of isNotNull
Example
Example
Returns
trueifvalueisnull, otherwisefalse