Checks if a given value is not null.
The value to be checked for null.
true if the value is not null, false otherwise.
const value1 = null;const value2 = "Hello";console.log(isNotNull(value1)); // falseconsole.log(isNotNull(value2)); // true Copy
const value1 = null;const value2 = "Hello";console.log(isNotNull(value1)); // falseconsole.log(isNotNull(value2)); // true
Generated using TypeDoc
Checks if a given value is not null.