kotlinpoet / com.squareup.kotlinpoet / CodeBlock / Builder / beginControlFlow

beginControlFlow

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

Parameters

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