HH\ImmSet::toKeysArray

Returns an array containing the values from the current ImmSet

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

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

This method is interchangeable with toValuesArray().

Return Values

  • HH\array<Tv> - an integer-indexed array containing the values from the current ImmSet.