find()
Emits the first value that satisfies predicate, then completes; no emission if upstream ends first.
Signature
ts
function find<A>(predicate: (value: A) => boolean): StoreOperator<A, A | undefined>Parameters
| Parameter | Type | Description |
|---|---|---|
predicate | (value: A) => boolean | Test for each upstream value. |
Returns
StoreOperator<A, A | undefined> — Tier 1.