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

Examples

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

$immutable_v = $p->values();

\var_dump($immutable_v);