🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
10 lines
290 B
JavaScript
Executable File
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);
|
|
}; |