HH\ImmSet::firstKey
Returns the first "key" in the current ImmSet
public function firstKey(): ?arraykey;
Since ImmSet
s do not have keys, it returns the first value.
This method is interchangeable with firstValue()
.
Returns
Examples
See Set::firstKey
for usage examples.