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