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