7fife-backend/node_modules/underscore/modules/without.js

8 lines
275 B
JavaScript

import restArguments from './restArguments.js';
import difference from './difference.js';
// Return a version of the array that does not contain the specified value(s).
export default restArguments(function(array, otherArrays) {
return difference(array, otherArrays);
});