notNullish()function

notNullish(value: Nullish<T>): value is T
ParamType
valueNullish<T>
The value to test. required
Return
value is T
true if value is not null and not undefined, otherwise false.

Is a value not nullish (not null and not undefined)?