FunctionsmapToArrayOn this pageFunction: mapToArray() function mapToArray<K, V>(map): [K, V][]; Converts a map to an array. If the map is a collection wrapper it will return the backed array. Type Parameters Type ParameterKV Parameters ParameterTypeDescriptionmapPick<Map<K, V>, "forEach">- Returns [K, V][]