# between
Return a Boolean DataColumn indicating whether each value lies between two bounds.
Return a Boolean DataColumn indicating whether each value lies between two bounds.
Return a Boolean DataColumn indicating whether each value lies between two bounds.
Returns a [`DataColumn`](DataColumn.md) of `Boolean` values indicating whether each element in this column
lies between the given lower and upper boundaries.
If `includeBoundaries` is `true` (default), values equal to the lower or upper boundary are also considered in range.
```kotlin
col.between(left, right, includeBoundaries)
```
### Examples
```kotlin
df
```
Check ages are between 18 and 25 inclusive:
```kotlin
df.age.between(left = 18, right = 25)
```
Strictly between 18 and 25 (excluding boundaries):
```kotlin
df.age.between(left = 18, right = 25, includeBoundaries = false)
```