setup-maven-cached/node_modules/underscore/cjs/without.js

10 lines
307 B
JavaScript
Raw Normal View History

2022-06-28 16:39:30 +08:00
var restArguments = require('./restArguments.js');
var difference = require('./difference.js');
// Return a version of the array that does not contain the specified value(s).
var without = restArguments(function(array, otherArrays) {
return difference(array, otherArrays);
});
module.exports = without;