HH\Vector::toImmVector

Returns an immutable copy (ImmVector) of the current Vector

public function toImmVector(): ImmVector<Tv>;

Return Values

  • ImmVector<Tv> - A Vector that is an immutable copy of the current Vector.