mirror of
https://github.com/Azure/setup-helm.git
synced 2026-07-06 00:11:37 +00:00
a517f2ff65
Co-authored-by: taakleton <taakleton@users.noreply.github.com>
9 lines
187 B
JavaScript
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;
|