596 B
596 B
Home > @apextoaster/js-utils > mustCoalesce
mustCoalesce() function
Return the first value that is not nil.
@todo: rename to mustDefault
Signature:
export declare function mustCoalesce<T>(...values: Array<Optional<T>>): T;
Parameters
Parameter | Type | Description |
---|---|---|
values | Array<Optional<T>> |
Returns:
T