697 B
697 B
Home > @apextoaster/js-utils > pushMergeMap
pushMergeMap() function
Merge the provided maps into a new map, merging keys that already exist by pushing new items.
Signature:
export declare function pushMergeMap<TKey, TVal>(...args: Array<Map<TKey, TVal | Array<TVal>>>): Map<TKey, Array<TVal>>;
Parameters
Parameter | Type | Description |
---|---|---|
args | Array<Map<TKey, TVal | Array<TVal>>> |
Returns:
Map<TKey, Array<TVal>>