DataFrame 1.0 Help

none

Checks that none of the rows in the DataFrame satisfy the predicate.

Returns Boolean — true if none of the rows satisfy the predicate, false otherwise.

df.none { rowCondition } rowCondition: (DataRow) -> Boolean

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

Related operations: any, all, filter, count.

Examples

df

Check that none of the persons' age is greater than 21:

df.none { age > 21 }

Output:

true

Check that there is no person with age equal to 15 and name equal to "Alice":

df.none { age == 15 && name == "Alice" }

Output:

false

Check that there is no name "Charlie" in the name column:

df.name.none { it == "Charlie" }

Output:

true
25 September 2026