HH\ImmSet::toImmSet
Returns an immutable copy (ImmSet
) of the current ImmSet
public function toImmSet(): ImmSet<Tv>;
This function is interchangeable with immutable()
.
Returns
ImmSet<Tv>
- anImmSet
that is a copy of the currentImmSet
.
Examples
See Set::toImmSet
for usage examples.