[android-components](../../index.md) / [mozilla.components.lib.jexl.value](../index.md) / [JexlBoolean](index.md) / [compareTo](./compare-to.md)

# compareTo

`fun compareTo(other: `[`JexlValue`](../-jexl-value/index.md)`): `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/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#L160)

Overrides [JexlValue.compareTo](../-jexl-value/compare-to.md)

