MutableSet::lastKey
Returns the last "key" in the current MutableSet
public function lastKey(): ?arraykey;
Since sets do not have keys, it returns the last value.
This method is interchangeable with lastValue()
.
Returns
?arraykey
- The last value in the currentMutableSet
, ornull
if the currentMutableSet
is empty.