HH\ImmVector::toMap

Returns an integer-keyed Map based on the elements of the current ImmVector.

Description

public function toMap(): Map<int,Tv>

Returns an integer-keyed Map based on the elements of the current ImmVector.

The keys are 0... count() - 1.

Return Values

Examples

See Vector::toMap for usage examples.