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

25 lines
697 B
Markdown
Raw Normal View History

2020-03-29 13:43:52 +00:00
<!-- 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.
2020-03-29 13:43:52 +00:00
<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 | Array&lt;Map&lt;TKey, TVal \| Array&lt;TVal&gt;&gt;&gt; | |
2020-03-29 13:43:52 +00:00
<b>Returns:</b>
Map&lt;TKey, Array&lt;TVal&gt;&gt;
2020-03-29 13:43:52 +00:00