HH\ImmMap::toImmMap
Returns an immutable copy (ImmMap) of the current ImmMap
public function toImmMap(): ImmMap<Tk, Tv>;
Returns
ImmMap<Tk,Tv>- anImmMapthat is a copy of the currentImmMap.
Examples
See [Map::toImmMap](</hack/reference/class/Map/toImmMap/#examples>) for usage examples.