conditional

fun Expression.conditional(condition: Expression, thenExpression: Expression, elseExpression: Expression): ConditionalExpression

Creates a new ConditionalExpression with a = BinaryOperator.operatorCode in the Fluent Node DSL and adds it to the nearest enclosing StatementHolder.