HH\ImmSet::toImmSet

Returns an immutable copy (ImmSet) of the current ImmSet.

Description

public function toImmSet(): ImmSet<Tv>

Returns an immutable copy (ImmSet) of the current ImmSet.

This function is interchangeable with immutable().

Return Values

Examples

See Set::toImmSet for usage examples.