static fun <A : Any!> anyOf(@NonNull iterable: MutableIterable<A>, @NonNull predicate: Predicate<in A>): Boolean
Checks if any values of provided iterable satisfy given predicate
iterable
- MutableIterable<A>: list of values that are going to be checked
predicate
- Predicate<in A>: predicate used for checking
Return
Boolean: true if any list items satisfy the predicate, false otherwise