setup-maven-cached/node_modules/underscore/cjs/negate.js

9 lines
187 B
JavaScript
Raw Permalink Normal View History

2022-06-28 16:39:30 +08:00
// Returns a negated version of the passed-in predicate.
function negate(predicate) {
return function() {
return !predicate.apply(this, arguments);
};
}
module.exports = negate;