HH\Set::toKeysArray

Returns an array containing the values from the current Set

public function toKeysArray(): HH\varray<Tv>;

Sets don't have keys. So this method just returns the values.

This method is interchangeable with toValuesArray().

Return Values