onArg

inline fun <T> ArgMatchersScope.onArg(matcher: T = any(), noinline block: (T) -> Unit): T

Short for capture with Capture.callback.