HH\ImmSet::immutable

Returns an immutable copy (ImmSet) of the current ImmSet

public function immutable(): ImmSet<Tv>;

This method is interchangeable with toImmSet().

Returns

Examples

See Set::immutable for usage examples.