The type of elements in the array.
The type of the value returned by the mapping function.
The type of the assignment tuple returned by the mapping function.
The array to be reduced.
The mapping function that transforms each element of the array into an assignment tuple.
An object where the keys are the first elements of the assignment tuples and the values are the second elements.
Generated using TypeDoc
Reduces an array to an object using a mapping function.
Return a tuple of [key, value] in the mapping function to add or replace a property to the resulting object.