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