nextControlFlow

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

Parameters

controlFlow

the control flow construct and its code, such as "else if (foo == 10)".

  • Shouldn't contain braces or newline characters.