---
layout: docs
title: vector
id: class.Facebook.HackCodegen.HackBuilderValues.vector
docid: class.Facebook.HackCodegen.HackBuilderValues.vector
permalink: /docs/reference/class.Facebook.HackCodegen.HackBuilderValues.vector/
---
# Facebook\\HackCodegen\\HackBuilderValues::vector()




Render a ` Vector ` literal




``` Hack
public static function vector<Tv>(
      IHackBuilderValueRenderer<Tv> $vr,
): IHackBuilderValueRenderer<Vector<Tv>>;
```




## Parameters




+ ` IHackBuilderValueRenderer<Tv> $vr `




## Returns




* ` IHackBuilderValueRenderer<Vector<Tv>> `