DataFrame 1.0 Help

all

Checks if all rows in the DataFrame satisfy the predicate.

Returns Boolean — true if every row satisfies the predicate, false otherwise.

all { rowCondition } rowCondition: (DataRow) -> Boolean

When called on a DataColumn, checks that all values in the DataColumn satisfy the predicate.

Related operations: any, filter, single, count.

Examples

df

Check if all persons' age is greater than 21:

df.all { age > 21 }

Output:

false

Check if all persons have age greater or equal to 15:

df.all { name.first().isUpperCase() && age >= 15 }

Output:

true
25 September 2026