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

8 lines
275 B
JavaScript
Raw Normal View History

2024-03-07 13:01:44 +00:00
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);
});