HH\ImmSet::toImmSet

Returns an immutable copy (ImmSet) of the current ImmSet

Description

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.

Examples

See Set::toImmSet for usage examples.