android-components / mozilla.components.lib.jexl / Jexl / evaluateBooleanExpression

# evaluateBooleanExpression

`fun evaluateBooleanExpression(expression: String, context: JexlContext = JexlContext(), defaultValue: Boolean? = null): Boolean` (source)

Evaluates a Jexl string with an optional context to a Boolean result. Optionally a default value can be provided that will be returned in the expression does not return a boolean result.