HH\ImmMap::toArray

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

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

Returns

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

Examples

See Map::toArray for usage examples.