mapKeys (Function)

Signature: mapKeys(map: Map<string, t0>) -> List<string>

Description: All keys of the map as a list. Order unspecified.

Parameters

  • map (Map<string, t0>): The map

Returns: List

Example

mapKeys(m)  // List<string>
mapKeys m  // List<string>