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