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




Render a ` keyset ` literal




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




## Parameters




+ ` IHackBuilderValueRenderer<Tv> $vr `




## Returns




* ` IHackBuilderValueRenderer<keyset<Tv>> `