matching

fun <T> MokkeryMatcherScope.matching(predicate: (T) -> Boolean): T(source)

Deprecated

This API is considered obsolete. Use `matches` instead.

Replace with

import dev.mokkery.matcher.matches
matches(predicate)

DEPRECATED: This API is considered obsolete. Use matches instead.


fun <T> MokkeryMatcherScope.matching(toString: () -> String, predicate: (T) -> Boolean): T(source)

Deprecated

This API is considered obsolete. Use `matches` instead.

Replace with

import dev.mokkery.matcher.matches
matches(toString, predicate)

DEPRECATED: This API is considered obsolete. Use matches instead.