1
0
Fork 0
js-utils/docs/api/js-utils.pushmergemap.md

25 lines
704 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@apextoaster/js-utils](./js-utils.md) &gt; [pushMergeMap](./js-utils.pushmergemap.md)
## pushMergeMap() function
Merge the provided maps into a new map, merging keys that already exist by pushing new items.
<b>Signature:</b>
```typescript
export declare function pushMergeMap<TKey, TVal>(...args: Array<Map<TKey, TVal | Array<TVal>>>): Map<TKey, Array<TVal>>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| args | <code>Array&lt;Map&lt;TKey, TVal &#124; Array&lt;TVal&gt;&gt;&gt;</code> | |
<b>Returns:</b>
`Map<TKey, Array<TVal>>`