1
0
Fork 0
js-utils/docs/api/js-utils.isnil.md

605 B

Home > @apextoaster/js-utils > isNil

isNil() function

Warning: This API is now obsolete.

use isNone instead

Check if a value is nil.

Signature:

export declare function isNil<T>(val: Maybe<T>): val is Nil;

Parameters

Parameter Type Description
val Maybe<T>

Returns:

val is Nil