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




Ensures that the cursor is in a new line right after an empty line




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




## Returns




+ ` this `