Files
rspade_system/node_modules/collect.js/dist/methods/diffUsing.js
2025-12-03 21:28:08 +00:00

10 lines
290 B
JavaScript
Executable File

'use strict';
module.exports = function diffUsing(values, callback) {
var collection = this.items.filter(function (item) {
return !(values && values.some(function (otherItem) {
return callback(item, otherItem) === 0;
}));
});
return new this.constructor(collection);
};