[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [mustFind](./js-utils.mustfind.md) ## mustFind() function Find a value matching the given predicate or throw. Signature: ```typescript export declare function mustFind(list: Array>, predicate: PredicateC1): TVal; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | list | Array<[Optional](./js-utils.optional.md)<TVal>> | | | predicate | PredicateC1<TVal> | | Returns: TVal