not

fun <T> not(rule: Rule<T>): Rule<T>

Returns a new Rule that is the logical equivalent of the following operation:

!rule

Return

A new Rule representing the logical "not" of the given rule.

Parameters

rule

The Rule to invert the result of.