HH\Set::immutable

Returns an immutable (ImmSet), deep copy of the current Set

public function immutable(): ImmSet<Tv>;

This method is interchangeable with toImmSet().

Return Values