isNonNullish
Public Function
Get whether a value is nullish (null, undefined).
Parameters
Name | Description |
---|---|
|
The value to check. |
Returns
value is typeof value extends undefined
? never
: typeof value extends null
? never
: T
Public Function
Get whether a value is nullish (null, undefined).
Name | Description |
---|---|
|
The value to check. |
value is typeof value extends undefined
? never
: typeof value extends null
? never
: T