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




Render a ` vec ` literal




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




## Parameters




* ` IHackBuilderValueRenderer<Tv> $vr `




## Returns




- ` IHackBuilderValueRenderer<vec<Tv>> `