kotlinpoet / com.squareup.kotlinpoet / CodeBlock / Builder / nextControlFlow

nextControlFlow

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

Parameters

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