AssertAnyExtension<T> extension

on

Methods

assertAny(bool condition(T element), [String? message]) Iterable<T>

Available on Iterable<T>, provided by the AssertAnyExtension extension

Asserts that any elements in this iterable meet a given condition. If not, an AssertionError is thrown.