HH\ImmSet::toImmSet

Returns an immutable copy (ImmSet) of the current ImmSet

public function toImmSet(): ImmSet<Tv>;

This function is interchangeable with immutable().

Return Values

  • ImmSet<Tv> - an ImmSet that is a copy of the current ImmSet.