matches

fun <T : Matchable<R>, R> Rule<T>.matches(input: R): Boolean

Convenience method to determine if a Rule is satisfied by the given input.

Parameters

input

The data used to match the rule