js-util

Home > rc-js-util > mapValuesToArray

mapValuesToArray() function

Converts a Map into an Array of its values.

Signature:

export declare function mapValuesToArray<TKey, TValue>(map: Map<TKey, TValue>): TValue[];

Parameters

Parameter Type Description
map Map<TKey, TValue>  

Returns:

TValue[]

The values of map.

Remarks

See mapValuesToArray().