Documentation / @ripl/utilities / objectReduce
Function: objectReduce()
objectReduce<
TSource,TResult>(input,reducer,initial):TResult
Defined in: packages/utilities/src/collection.ts:191
Reduces the enumerable properties of an object into a single accumulated value.
Type Parameters
| Type Parameter |
|---|
TSource extends IterableObject |
TResult |
Parameters
| Parameter | Type |
|---|---|
input | TSource |
reducer | ObjectReducer<keyof TSource, TSource[keyof TSource], TResult> |
initial | TResult |
Returns
TResult