HH\ImmMap::immutable

Returns an immutable copy (ImmMap) of the current ImmMap.

Description

public function immutable(): ImmMap<Tk,Tv>

Returns an immutable copy (ImmMap) of the current ImmMap.

This method is interchangeable with toImmMap().

Return Values

Examples

See Map::immutable for usage examples.