Files
erik 5b20adee48 All new
alle new
2026-10-01 06:46:51 +02:00

9 lines
187 B
JavaScript

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