onArgumentsMatching

infix fun onArgumentsMatching(condition: suspend (Args) -> Boolean)(source)

Configures the tool to return the specified result when it receives arguments that satisfy the specified condition.

Parameters

condition

A function that evaluates the arguments and returns true if they match