HH\ImmSet::toKeysArray
Returns an array containing the values from the current ImmSet
public function toKeysArray(): varray<Tv>;
Sets don't have keys. So this method just returns the values.
This method is interchangeable with toValuesArray().
Returns
varray<Tv>- an integer-indexedarraycontaining the values from the currentImmSet.
Examples
See [Set::toKeysArray](</hack/reference/class/Set/toKeysArray/#examples>) for usage examples.