beginControlFlow

fun beginControlFlow(controlFlow: String, vararg args: Any): FileSpec.Builder

Parameters

controlFlow

the control flow construct and its code, such as "if (foo == 5)". Shouldn't contain braces or newline characters.