HH\ImmSet::toKeysArray
Returns an array
containing the values from the current ImmSet
public function toKeysArray(): varray<Tv>;
Set
s don't have keys. So this method just returns the values.
This method is interchangeable with toValuesArray()
.
Returns
varray<Tv>
- an integer-indexedarray
containing the values from the currentImmSet
.
Examples
See Set::toKeysArray
for usage examples.