static fun <A : Any!> allOf(@NonNull iterable: MutableIterable<A>, @NonNull predicate: Predicate<in A>): Boolean
Checks if all 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 all list items satisfy the predicate, false otherwise