notNullish()function
notNullish(value: Nullish<T>): value is T
| Param | Type | |
|---|---|---|
value | Nullish<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)?