toBoolean

fun toBoolean(vararg expressions: Expression): Expression

Converts the input value to a boolean. The result is false when then input is an empty string, 0, false, null, or NaN; otherwise it is true.

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

DSL function for "to-boolean".