Variable: toMinMaxWithAsync()
const
toMinMaxWithAsync: <Value
>(fn
) =>AsyncOptionalReducer
<MinMax
<Value
>>
Defined in: statistics.d.ts:979
Returns an async optional reducer that finds the MinMax value of the
values it receives by comparing the numerical values of each value, as
defined by fn
.
Use when composing reducers. Prefer minMaxWithAsync and minMaxWithConcur for direct use on iterables.
Type Parameters
Value
Value
Parameters
fn
(value
) => MaybePromiseLike
<number
>
Returns
AsyncOptionalReducer
<MinMax
<Value
>>
Since
v2.0.0