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

579 B

Home > @apextoaster/js-utils > makeMap

makeMap() function

Clone a map or map-like object into a new map.

Signature:

export declare function makeMap<TVal>(val: Optional<MapLike<TVal>>): Map<string, TVal>;

Parameters

Parameter Type Description
val Optional<MapLike<TVal>>

Returns:

Map<string, TVal>