doc / ch.tutteli.atrium.api.cc.en_UK / only

only

val <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.only: IterableContainsBuilder<E, T, IterableContainsInAnyOrderOnlySearchBehaviour>
val <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInOrderSearchBehaviour>.only: IterableContainsBuilder<E, T, IterableContainsInOrderOnlySearchBehaviour>

Defines that the constraint "only the specified entries exist in the Iterable" shall be applied to this sophisticated contains Iterable assertion.

Return
The newly created builder.