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

614 B

Home > @apextoaster/js-utils > mustCoalesce

mustCoalesce() function

Warning: This API is now obsolete.

Return the first value that is not nil.

Signature:

export declare function mustCoalesce<T>(...values: Array<Maybe<T>>): T;

Parameters

Parameter Type Description
values Array<Maybe<T>>

Returns:

T