none

inline fun <T> Iterable<T>.none(predicate: (T) -> Boolean): Boolean(source)

Returns true when no element matches predicate.

Stops at the first true predicate result. Returns true for an empty iterable without invoking the predicate. Exceptions from iteration or the callback propagate to the caller. The inline callback supports non-local returns.

Receiver

elements to visit in their iteration order.

Return

true if no elements match, or false otherwise.

Parameters

predicate

test receiving each visited element.