HH\Iterable::toImmSet

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

Description

public function toImmSet(): ImmSet<Tv>

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

Any keys in the current Iterable are discarded.

Return Values