[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [makeDict](./js-utils.makedict.md)
## makeDict() function
Turns a map or dict into a dict
Signature:
```typescript
export declare function makeDict(map: Optional>): Dict;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| map | Optional<MapLike<TVal>>
| |
Returns:
`Dict`