4
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2025-11-07 21:16:57 +00:00
setup-helm/node_modules/underscore/cjs/reject.js
2022-06-27 14:17:15 -04:00

10 lines
289 B
JavaScript

var filter = require('./filter.js');
var negate = require('./negate.js');
var _cb = require('./_cb.js');
// Return all the elements for which a truth test fails.
function reject(obj, predicate, context) {
return filter(obj, negate(_cb(predicate)), context);
}
module.exports = reject;