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

30 lines
800 B
Markdown
Raw Normal View History

2020-03-29 14:10:40 +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; [normalizeMap](./js-utils.normalizemap.md)
## normalizeMap() function
> 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
>
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 |
| --- | --- | --- |
| map | [MapLike](./js-utils.maplike.md)<!-- -->&lt;unknown&gt; | |
2020-03-29 14:10:40 +00:00
<b>Returns:</b>
[Dict](./js-utils.dict.md)<!-- -->&lt;Array&lt;string&gt;&gt;
2020-03-29 14:10:40 +00:00