negate method

Predicate<T> negate()

Returns a Predicate that represents a negation of this Predicate.

Implementation

Predicate<T> negate() => (value) => !this(value);