2020-03-29 13:43:52 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [ArrayMapper](./js-utils.arraymapper.md) > [map](./js-utils.arraymapper.map.md)
|
|
|
|
|
|
|
|
## ArrayMapper.map() method
|
|
|
|
|
2020-03-31 13:49:18 +00:00
|
|
|
Transform the input list into a map, extracting elements using the mapper's options.
|
|
|
|
|
2020-03-29 13:43:52 +00:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
map(input: Array<string>): Map<string, Array<string>>;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2020-06-29 23:23:16 +00:00
|
|
|
| input | Array<string> | |
|
2020-03-29 13:43:52 +00:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
2020-06-29 23:23:16 +00:00
|
|
|
Map<string, Array<string>>
|
2020-03-29 13:43:52 +00:00
|
|
|
|