doc / ch.tutteli.atrium.api.cc.infix.en_UK / but

but

infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InAnyOrderSearchBehaviour>.but(only: only): IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>
Deprecated: Use pendant from package en_GB; will be removed with 1.0.0

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.

@JvmName("yet") infix fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderSearchBehaviour>.but(only: only): IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>
Deprecated: Use pendant from package en_GB; will be removed with 1.0.0

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

Return
The newly created builder.