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.

Return Values

  • ImmMap<int, Tv> - An integer-keyed ImmMap with the values of the current ImmVector.