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




Indicate that the code that will follow will be inside a function, so that
the indentation is taken into account for the max line length




``` Hack
final public function setIsInsideFunction(): this;
```




## Returns




+ ` this `