628 B
628 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: Maybe<MapLike<TVal>>): Map<string, TVal>;
Parameters
Parameter | Type | Description |
---|---|---|
val | Maybe<MapLike<TVal>> |
Returns:
Map<string, TVal>