No Description

negate.js 187B

12345678
  1. // Returns a negated version of the passed-in predicate.
  2. function negate(predicate) {
  3. return function() {
  4. return !predicate.apply(this, arguments);
  5. };
  6. }
  7. module.exports = negate;