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




``` Hack
public function addElseIfBlockf(
  HH\Lib\Str\SprintfFormatString $condition,
  mixed ...$args,
): this;
```




## Parameters




* ` HH\Lib\Str\SprintfFormatString $condition `
* ` mixed ...$args `




## Returns




- ` this `