747 B
747 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: ReadonlyArray<Map<TKey, TVal | ReadonlyArray<TVal>>>): Map<TKey, ReadonlyArray<TVal>>;
Parameters
Parameter | Type | Description |
---|---|---|
args | ReadonlyArray<Map<TKey, TVal | ReadonlyArray<TVal>>> |
Returns:
Map<TKey, ReadonlyArray<TVal>>