none

fun <T> DataColumn<T>.none(predicate: Predicate<T>): Boolean

Returns true if none of the values match the given predicate.

For more information: See none on the documentation website.


inline fun <T> DataFrame<T>.none(predicate: RowFilter<T>): Boolean

Returns true if none of the rows in this DataFrame satisfies the given predicate.

For more information: See none on the documentation website.

The predicate is a RowFilter — a lambda that receives each DataRow as both this and it and is expected to return a Boolean value.

It allows you to define conditions using the row's values directly, including through extension properties for convenient and type-safe access.

For more information, See RowFilter on the documentation website.

Example

// Check if there is not any row where "age" is greater than 18
val hasNoAdults = df.none { age > 18 }

Return

true if none of the rows satisfies the predicate, false otherwise.

Parameters

predicate

A RowFilter lambda that takes a DataRow (as both this and it) and returns true if none of the rows should be considered a match.

See also