ne<R> static method

bool Function(R) ne<R>(
  1. R r
)

Returns a predicate that will return true when the given variable is NOT equal to the pre-defined value r.

since 0.3.0

Implementation

static bool Function(R) ne<R>(R r) {
  return (v) => !Predicates.eq(r)(v);
}