fun boolean(vararg expressions: Expression): Expression

Asserts that the input value is a boolean. If multiple values are provided, each one is evaluated in order until a boolean is obtained. If none of the inputs are booleans, the expression is an error.

fun boolean(block: Expression.ExpressionBuilder.() -> Unit): Expression

DSL function for "boolean".