Determines if a value is not null nor undefined.
isNonNullable(1); // => trueisNonNullable(null); // => falseisNonNullable(undefined); // => false Copy
isNonNullable(1); // => trueisNonNullable(null); // => falseisNonNullable(undefined); // => false
The type of the value to check.
The value to check.
A boolean indicating if the value is not null or undefined.
Determines if a value is not null nor undefined.
Example