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

25 lines
628 B
Markdown
Raw Permalink Normal View History

2020-03-29 13:43:52 +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; [makeMap](./js-utils.makemap.md)
## makeMap() function
Clone a map or map-like object into a new map.
<b>Signature:</b>
```typescript
export declare function makeMap<TVal>(val: Maybe<MapLike<TVal>>): Map<string, TVal>;
2020-03-29 13:43:52 +00:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| val | [Maybe](./js-utils.maybe.md)<!-- -->&lt;[MapLike](./js-utils.maplike.md)<!-- -->&lt;TVal&gt;&gt; | |
2020-03-29 13:43:52 +00:00
<b>Returns:</b>
Map&lt;string, TVal&gt;
2020-03-29 13:43:52 +00:00