eval

suspend fun eval(expr: String): Boolean

Suspends until an evaluator can be borrowed from the pool, evaluates expr, and recycles the evaluator afterwards. Suspends (rather than blocking) when all size evaluators are in use.

Return

the boolean result of the evaluation

Parameters

expr

the expression to evaluate