Documentation / @ripl/utilities / setFind
Function: setFind() ​
setFind<
TValue>(input,predicate):TValue|undefined
Defined in: collection.ts:229
Searches a Set for the first value that satisfies the predicate.
Type Parameters ​
| Type Parameter |
|---|
TValue |
Parameters ​
| Parameter | Type |
|---|---|
input | Set<TValue> |
predicate | CollectionIteratee<TValue, boolean> |
Returns ​
TValue | undefined