HH\Iterable::toImmVector

Returns an immutable vector (ImmVector) converted from the current Iterable.

Description

public function toImmVector(): ImmVector<Tv>

Returns an immutable vector (ImmVector) converted from the current Iterable.

Any keys in the current Iterable are discarded and replaced with integer indices, starting with 0.

Return Values