Checks if a value is Falsy
value
The opposite of isNotNullish
const result = isNullish(null);console.log(result); // true
const result = isNullish(undefined);console.log(result); // true
const result = isNullish(0);console.log(result); // false
true if value is Falsy, otherwise false
true
false
the value to check
Generated using TypeDoc
Checks if a
valueis FalsyThe opposite of isNotNullish
Example
Example
Example
Returns
trueifvalueis Falsy, otherwisefalse