HH\Map::keys

Returns a Vector containing the keys of the current Map

public function keys(): Vector<Tk>;

Returns

Examples

$m = Map {
  'red' => '#ff0000',
  'green' => '#00ff00',
  'blue' => '#0000ff',
  'yellow' => '#ffff00',
};
\var_dump($m->keys());