HH\Set::toValuesArray

Returns an array containing the values from the current Set

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

This method is interchangeable with toKeysArray().

Return Values

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