HH\ImmMap::toImmSet

Returns an immutable set (ImmSet) based on the values of the current ImmMap

Description

public function toImmSet(): ImmSet<Tv>;

Return Values

  • ImmSet<Tv> - an ImmSet with the current values of the current ImmMap.

Examples

See Map::toImmSet for usage examples.