strikt-core / strikt.assertions / filter

filter

infix fun <T : Iterable<E>, E> Builder<T>.filter(predicate: (E) -> Boolean): Builder<List<E>>

Maps this assertion to an assertion over a list of all elements of the subject that match predicate.

See Also

Iterable.filter