Functions
assocObj
- assocObj<T>(): Reducer<IObjectOf<T>, Pair<PropertyKey, T>>
- assocObj<T>(xs: Iterable<Pair<PropertyKey, T>>): IObjectOf<T>
Type parameters
Returns Reducer<IObjectOf<T>, Pair<PropertyKey, T>>
Type parameters
Parameters
xs: Iterable<Pair<PropertyKey, T>>
Returns IObjectOf<T>
Reducer accepting key-value pairs / tuples and updating / adding them to an object.