Documentation / @ripl/utilities / ObjectReducer
Type Alias: ObjectReducer()<TKey, TValue, TResult> ​
ObjectReducer<
TKey,TValue,TResult> = (accumulator,key,value) =>TResult
Defined in: collection.ts:25
Reducer callback for folding over object entries into an accumulated result.
Type Parameters ​
| Type Parameter | Default type |
|---|---|
TKey | - |
TValue | - |
TResult | void |
Parameters ​
| Parameter | Type |
|---|---|
accumulator | TResult |
key | TKey |
value | TValue |
Returns ​
TResult