# any

> For the complete documentation index, see [llms.txt](https://kotlin.github.io/dataframe/llms.txt).

Checks if there is at least one row in the [DataFrame](dataframe.html) that satisfies the predicate.

API reference: [any](https://kotlin.github.io/dataframe/api-docs/core/org.jetbrains.kotlinx.dataframe.api/any.html)

Returns `Boolean` — `true` if there is at least one row that satisfies the predicate, `false` otherwise.

```KOTLIN
df.any { rowCondition }

rowCondition: (DataRow) -> Boolean
```

Related operations: [all](all.html), [filter](filter.html), [single](single.html), [count](count.html).

## Examples

```KOTLIN
df
```

[Embedded content](./resources/notebook_test_any_3.html)

Check if any person `age` is greater than 21:

```KOTLIN
df.any { age > 21 }
```

Output:

```TEXT
false
```

Check if there is any person with `age` equal to 15 and `name` equal to "Alice":

```KOTLIN
df.any { age == 15 && name == "Alice" }
```

Output:

```TEXT
true
```

