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

557 B

Home > @apextoaster/js-utils > isSome

isSome() function

Typeguard to check if a Maybe is Some value (not None).

Signature:

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

Parameters

Parameter Type Description
val Maybe<T>

Returns:

val is T