HH\Pair::toValuesArray

Returns an varray containing the values from the current Pair

public function toValuesArray<Tu>(): varray<Tu>;

This method is interchangeable with toVArray().

Returns

Examples

$p = Pair {'foo', -1.5};

$array = $p->toValuesArray();

\var_dump(\HH\is_any_array($array));
\var_dump($array);