AssertAnyExtension<T> extension

on

Methods

assertAny(bool condition(T element), [String? message]) Iterable<T>
Asserts that any elements in this iterable meet a given condition. If not, an AssertionError is thrown.