HH\ImmSet::lastKey
Returns the last "key" in the current ImmSet
public function lastKey(): ?arraykey;
Since ImmSet
s do not have keys, it returns the last value.
This method is interchangeable with lastValue()
.
Returns
Examples
See [Set::lastKey
](</hack/reference/class/Set/lastKey/#examples>) for usage examples.