Home > rc-js-util > mapKeysToArray
Converts a Map
into an Array
of its keys.
Signature:
export declare function mapKeysToArray<TKey, TValue>(map: Map<TKey, TValue>): TKey[];
Parameter | Type | Description |
---|---|---|
map | Map<TKey, TValue> |
Returns:
TKey[]
The keys of the map.
See mapKeysToArray().