[android-components](../../index.md) / [mozilla.components.lib.jexl.value](../index.md) / [JexlObject](index.md) / [toBoolean](./to-boolean.md)

# toBoolean

`fun toBoolean(): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/lib/jexl/src/main/java/mozilla/components/lib/jexl/value/JexlValue.kt#L271)

Overrides [JexlValue.toBoolean](../-jexl-value/to-boolean.md)

