Asserts that the value is not undefined or null. Similar to ! or NonNullable, but also performs the check at runtime.
undefined
null
The value to check and return.
The given value.
If value === undefined || value === null.
value === undefined || value === null
Asserts that the value is not
undefinedornull. Similar to ! or NonNullable, but also performs the check at runtime.