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().

Return Values