25 lines
633 B
Markdown
25 lines
633 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: Maybe<MapLike<TVal>>): Dict<TVal>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| map | [Maybe](./js-utils.maybe.md)<!-- --><[MapLike](./js-utils.maplike.md)<!-- --><TVal>> | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
[Dict](./js-utils.dict.md)<!-- --><TVal>
|
|
|