Companion

object Companion

Functions

Link copied to clipboard
fun <T> anyOf(matchers: Iterable<Matcher<in T>>): AnyOf<T>
fun <T> anyOf(vararg matchers: Matcher<in T>): AnyOf<T>

Creates a matcher that matches if the examined object matches ANY of the specified matchers. For example: