Checks if a value is null or undefined.
isNullish(null)// => trueisNullish(undefined)// => trueisNullish(10)// => false Copy
isNullish(null)// => trueisNullish(undefined)// => trueisNullish(10)// => false
The type of the input value.
The value to be checked.
true if the value is null or undefined, false otherwise.
true
false
Generated using TypeDoc v0.24.7
Checks if a value is null or undefined.
Example