HH\ImmSet::toValuesArray

Returns an array containing the values from the current ImmSet

public function toValuesArray(): varray<Tv>;

This method is interchangeable with toKeysArray().

Returns

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

Examples

See [Set::toValuesArray](</hack/reference/class/Set/toValuesArray/#examples>) for usage examples.