HH\Map::toArray

Returns an array containing the key/value pairs from the current Map

public function toArray(): HH\array<Tk, Tv>;

Return Values

  • HH\array<Tk, Tv> - an array containing the key and value pairs from the current Map.