HH\Pair::values
Returns an ImmVector
containing the values of the current Pair
public function values(): ImmVector<mixed>;
This method is interchangeable with toImmVector()
.
Returns
ImmVector<mixed>
- anImmVector
containing the values of the currentPair
.
Examples
$p = Pair {'foo', -1.5};
$immutable_v = $p->values();
\var_dump($immutable_v);