Files
2023-11-25 18:12:47 -05:00

7 lines
176 B
JavaScript

// Returns a negated version of the passed-in predicate.
export default function negate(predicate) {
return function() {
return !predicate.apply(this, arguments);
};
}