2020-03-29 14:10:40 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [normalizeMap](./js-utils.normalizemap.md)
|
|
|
|
|
|
|
|
## normalizeMap() function
|
|
|
|
|
2021-07-25 00:41:28 +00:00
|
|
|
> Warning: This API is now obsolete.
|
|
|
|
>
|
2022-10-08 19:52:35 +00:00
|
|
|
> the conversion behavior here was not reliable, better to provide your own `T -> string` mapper
|
2021-07-25 00:41:28 +00:00
|
|
|
>
|
|
|
|
|
2020-03-31 13:49:18 +00:00
|
|
|
Normalize a map-like of values into a dict of lists of strings.
|
|
|
|
|
2020-03-29 14:10:40 +00:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
export declare function normalizeMap(map: MapLike<unknown>): Dict<Array<string>>;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2020-06-29 23:23:16 +00:00
|
|
|
| map | [MapLike](./js-utils.maplike.md)<!-- --><unknown> | |
|
2020-03-29 14:10:40 +00:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
2020-06-29 23:23:16 +00:00
|
|
|
[Dict](./js-utils.dict.md)<!-- --><Array<string>>
|
2020-03-29 14:10:40 +00:00
|
|
|
|