579 B
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>