varargsAll

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

Deprecated

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

Replace with

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

Matches a sequence of varargs with all elements satisfying the given predicate.