The type of elements in the collection.
The type of the values in the resulting multi-object.
The type of the key-value pairs returned by the mapping function.
The array of elements to be reduced.
The mapping function.
The resulting multi-object.
Generated using TypeDoc
Reduces an array of elements into a multi-object based on a provided mapping function. The mapping function should return an array of key-value pairs, where the key represents the property name in the resulting multi-object, and the value represents the corresponding value to be added to the array of values for that property.