[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](./js-utils.optional.md)<[MapLike](./js-utils.maplike.md)<TVal>> | | Returns: [Dict](./js-utils.dict.md)<TVal>