begin Control Flow
fun beginControlFlow(controlFlowName: String, controlFlowCode: String, vararg args: Any): FunctionSpec.Builder
Content copied to clipboard
Parameters
controlFlowName
the control flow construct (e.g. "if", "switch", etc.).
controlFlowCode
code for control flow, such as "foo == 5" Shouldn't contain braces or newline characters.