HH\Set::toArray

Returns an array containing the values from the current Set

public function toArray(): array<Tv, Tv>;

For the returned array, each key is the same as its associated value.

Return Values