Negation Filter
class NegationFilter<T>(filter: Filter<T, out Any>) : Filter<T, Unit> , Iterable<Filter<T, out Any>> (source)
A filter, which returns the opposite result of the provided filter.
FilterResult.Match and FilterResult.Mismatch are opposites. FilterResult.Skip is the opposite of itself.
Parameters
T
The type the filter accepts
filter
The filter to negate