HH\Iterable::toVector

Returns a Vector converted from the current Iterable.

Description

public function toVector(): Vector<Tv>

Returns a Vector converted from the current Iterable.

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

Return Values