none

fun <E> Assert<Iterable<E>>.none(f: (Assert<E>) -> Unit)

Asserts on each item in the iterable, passing if none of the items pass. The given lambda will be run for each item.

assertThat(listOf("one", "two")).none {
it.hasLength(2)
}

fun <E> Assert<Sequence<E>>.none(f: (Assert<E>) -> Unit)

Asserts on each item in the sequence, passing if none of the items pass. The given lambda will be run for each item.

assertThat(sequenceOf("one", "two")).none {
it.hasLength(2)
}