23 lines
551 B
Markdown
23 lines
551 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [pairsToMap](./js-utils.pairstomap.md)
|
||
|
|
||
|
## pairsToMap() function
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export declare function pairsToMap<TVal>(pairs: Array<NameValuePair<TVal>>): Map<string, TVal>;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| pairs | <code>Array<NameValuePair<TVal>></code> | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
`Map<string, TVal>`
|
||
|
|