# Between

# Between


```
class Between : TernaryExpression
```

<br />

|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||
| ↳ | [com.google.home.automation.ExpressionWithId](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ExpressionWithId) |||
|   | ↳ | [com.google.home.automation.TernaryExpression](https://developers.home.google.com/reference/kotlin/com/google/home/automation/TernaryExpression) ||
|   |   | ↳ | [com.google.home.automation.Between](https://developers.home.google.com/reference/kotlin/com/google/home/automation/Between) |

*** ** * ** ***

The between operator, which evaluates to `true` when `operand1` is between `operand2` and `operand3`.

```kotlin
val x = Between(6, 4, 8)
```

## Summary

| ### Inherited properties |
|---|
| From [com.google.home.automation.TernaryExpression](https://developers.home.google.com/reference/kotlin/com/google/home/automation/TernaryExpression) |---|---| | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Expression` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/TernaryExpression#operand1()` | | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Expression` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/TernaryExpression#operand2()` | | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Expression` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/TernaryExpression#operand3()` | |