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




The value will be rendered with the specified lambda




``` Hack
public static function lambda<T>(
  callable $render,
): IHackBuilderValueRenderer<T>;
```




## Parameters




- ` callable $render `




## Returns




+ ` IHackBuilderValueRenderer<T> `