HH\Pair::lastValue

Returns the last value in the current Pair

public function lastValue(): Tv2;

Returns

  • Tv2 - The last value in the current Pair.

Examples

$p = Pair {'foo', -1.5};
\var_dump($p->lastValue());