varargsAny

inline fun <T> MokkeryMatcherScope.varargsAny(noinline predicate: (T) -> Boolean): Array<T>(source)

Deprecated

Obsolete varargs API. Read `VarArgMatcher` docs for more details.

Replace with

import dev.mokkery.matcher.collections.containsAnyElement
containsAnyElement(predicate)

Matches a sequence of varargs with any element satisfying the given predicate.