HH\ImmMap::toImmMap

Returns an immutable copy (ImmMap) of the current ImmMap

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

Returns

  • ImmMap<Tk, Tv> - an ImmMap that is a copy of the current ImmMap.

Examples

See Map::toImmMap for usage examples.