forked from actions/setup-maven
7 lines
176 B
JavaScript
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);
|
|
};
|
|
}
|