HH\ImmVector::toImmMap
Returns an immutable integer-keyed Map (ImmMap) based on the elements of
the current ImmVector
public function toImmMap(): ImmMap<int, Tv>;
The keys are 0... count() - 1.
Returns
ImmMap<int,Tv>- An integer-keyedImmMapwith the values of the currentImmVector.
Examples
See [Vector::toImmMap](</hack/reference/class/Vector/toImmMap/#examples>) for usage examples.