negate.js 176 Bytes Raw Blame History Permalink 1 2 3 4 5 6 // Returns a negated version of the passed-in predicate. export default function negate(predicate) { return function() { return !predicate.apply(this, arguments); }; }