Checks if value is not null or undefined, acts as a typescript safeguard.
null
undefined
[null, undefined, 1, 5].filter(isUndefined)> [null, undefined][null, undefined, 1, 5].filter(isNot(isUndefined))> [1, 5] Copy
[null, undefined, 1, 5].filter(isUndefined)> [null, undefined][null, undefined, 1, 5].filter(isNot(isUndefined))> [1, 5]
Checks if value is not
null
orundefined
, acts as a typescript safeguard.