557 B
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