25 lines
697 B
Markdown
25 lines
697 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [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 | Array<Map<TKey, TVal \| Array<TVal>>> | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Map<TKey, Array<TVal>>
|
|
|