eval

fun eval(expr: String): Boolean

Evaluates expr and returns its Boolean result.

Return

the boolean result of the evaluation

Parameters

expr

the boolean expression to evaluate

Throws

if the expression does not evaluate to a Boolean