Home > @rushstack/node-core-library > MapExtensions
MapExtensions class
Helper functions for working with the Map<K, V> data type.
Signature:
export declare class MapExtensions
Methods
| Method | Modifiers | Description |
|---|---|---|
| mergeFromMap(targetMap, sourceMap) | static | Adds all the (key, value) pairs from the source map into the target map. |
| toObject(map) | static | Converts a string-keyed map to an object. |