You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
325 B
12 lines
325 B
var restArgs = require('./restArgs');
|
|
var flatten = require('./flatten');
|
|
var filter = require('./filter');
|
|
var contain = require('./contain');
|
|
exports = restArgs(function(arr, args) {
|
|
args = flatten(args);
|
|
return filter(arr, function(val) {
|
|
return !contain(args, val);
|
|
});
|
|
});
|
|
|
|
module.exports = exports;
|
|
|