HH\Vector::toImmMap

Returns an immutable, integer-keyed map (ImmMap) based on the values of the current Vector

public function toImmMap(): ImmMap<int, Tv>;

Return Values

  • ImmMap<int, Tv> - An ImmMap that has the integer keys and associated values of the current Vector.