HH\Iterable::toSet

Returns a Set converted from the current Iterable.

Description

public function toSet(): Set<Tv>

Returns a Set converted from the current Iterable.

Any keys in the current Iterable are discarded.

Return Values