HH\ImmSet::keys
Returns an ImmVector
containing the values of this ImmSet
public function keys(): ImmVector<arraykey>;
ImmSet
s don't have keys, so this will return the values.
This method is interchangeable with toImmVector()
and values()
.
Returns
ImmVector<arraykey>
- anImmVector
containing the values of the currentImmSet
.
Examples
See [Set::keys
](</hack/reference/class/Set/keys/#examples>) for usage examples.