HH\ImmMap::toKeysArray

Returns an array whose values are the keys of the current ImmMap

public function toKeysArray(): varray<Tk>;

Returns

  • varray<Tk> - an integer-indexed array where the values are the keys from the current ImmMap.

Examples

See [Map::toKeysArray](</hack/reference/class/Map/toKeysArray/#examples>) for usage examples.