Current File : /home/exataengenharia/public_html/node_modules/collect.js/dist/methods/diffUsing.js
'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);
};