HH\ImmMap::toImmSet

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

public function toImmSet(): ImmSet<Tv>;

Returns

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

Examples

See Map::toImmSet for usage examples.