strikt-core / strikt.assertions / all

all

infix fun <T : Iterable<E>, E> Builder<T>.all(predicate: Builder<E>.() -> Unit): Builder<T>

Asserts that all elements of the subject pass the assertions in predicate.