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.
13 lines
325 B
13 lines
325 B
2 years ago
|
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;
|