Home > @infiniteobjects/core-library-web > Functions > isNil
Returns true
if the value is null
or undefined
Signature:
static isNil(value: unknown): boolean;
Parameter | Type | Description |
---|---|---|
value | unknown |
Returns:
boolean
This is a more explicit version of isFalsy
as it only returns true
for null
and undefined