kotlinpoet / com.squareup.kotlinpoet / FunSpec / Builder / beginControlFlow

beginControlFlow

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

Parameters

controlFlow - the control flow construct and its code, such as "if (foo == 5)".