True if the value is not null nor undefined, false otherwise.
Example
// Here the type of `arr` is (number | undefined)[] constarr = [1, undefined, 3]; // Here the type of `result` is number[] constresult = arr.filter(isNotNil); // result will be [1, 3]
Alias