HH\Pair::toKeysArray

Returns a varray whose values are the keys from the current Pair

public function toKeysArray(): varray<int>;

Returns

Examples

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

\var_dump($p->toKeysArray());