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

7 lines
176 B
JavaScript
Raw Normal View History

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