mirror of
https://github.com/stCarolas/setup-maven.git
synced 2024-11-27 05:36:09 +08:00
13 lines
218 B
JavaScript
13 lines
218 B
JavaScript
define(function () {
|
|
|
|
// Returns a negated version of the passed-in predicate.
|
|
function negate(predicate) {
|
|
return function() {
|
|
return !predicate.apply(this, arguments);
|
|
};
|
|
}
|
|
|
|
return negate;
|
|
|
|
});
|