25 lines
554 B
Markdown
25 lines
554 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [makeDict](./js-utils.makedict.md)
|
||
|
|
||
|
## makeDict() function
|
||
|
|
||
|
Turns a map or dict into a dict
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export declare function makeDict<TVal>(map: Optional<MapLike<TVal>>): Dict<TVal>;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| map | <code>Optional<MapLike<TVal>></code> | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
`Dict<TVal>`
|
||
|
|