[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [mustCoalesce](./js-utils.mustcoalesce.md) ## mustCoalesce() function Return the first value that is not nil. TODO: rename to mustDefault Signature: ```typescript export declare function mustCoalesce(...values: Array>): T; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | values | Array<Optional<T>> | | Returns: `T`