HH\Map::toImmMap

Returns a deep, immutable copy (ImmMap) of the current Map

public function toImmMap(): ImmMap<Tk, Tv>;

Return Values

  • ImmMap<Tk, Tv> - an ImmMap that is a copy of this Map.