HH\Iterable::toImmSet

Returns an immutable set (ImmSet) converted from the current Iterable

public function toImmSet(): ImmSet<Tv>;

Any keys in the current Iterable are discarded.

Returns