none
Returns true if none of the values match the given predicate.
For more information: See none on the documentation website.
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 }Content copied to clipboard
Return
true if none of the rows satisfies the predicate, false otherwise.