HH\Iterable::toImmVector
Returns an immutable vector (ImmVector) converted from the current
Iterable
public function toImmVector(): ImmVector<Tv>;
Any keys in the current Iterable are discarded and replaced with integer
indices, starting with 0.
Returns
ImmVector<Tv>- anImmVectorconverted from the currentIterable.