HH\Set::values
Returns a Vector containing the values of the current Set
public function values(): Vector<Tv>;
This method is interchangeable with toVector() and keys().
Returns
- Vector<Tv>- a- Vector(integer-indexed) containing the values of the current- Set.
Examples
$s = Set {'red', 'green', 'blue', 'yellow'};
$v = $s->values();
\var_dump($v);