infix fun <T : CharSequence> Builder<T>.contains(expected: Regex): Builder<T>
Asserts that the subject contains a match for the expected regular expression.
infix fun <T : CharSequence> Builder<T>.contains(expected: CharSequence): Builder<T>
Asserts that the subject contains the expected substring.
infix fun <T : ClosedRange<E>, E> Builder<T>.contains(element: E): Builder<T>
Asserts that the subject range contains the provided element.
fun <T : Iterable<E>, E> Builder<T>.contains(vararg elements: E): Builder<T>infix fun <T : Iterable<E>, E> Builder<T>.contains(elements: Collection<E>): Builder<T>
Asserts that all elements are present in the subject. The elements may exist in any order any number of times and the subject may contain further elements that were not specified. If either the subject or elements are empty the assertion always fails.