summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/lodash/pullAllBy.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/lodash/pullAllBy.js')
-rw-r--r--tools/eslint/node_modules/lodash/pullAllBy.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/eslint/node_modules/lodash/pullAllBy.js b/tools/eslint/node_modules/lodash/pullAllBy.js
index 7d732e70ce..7192650c37 100644
--- a/tools/eslint/node_modules/lodash/pullAllBy.js
+++ b/tools/eslint/node_modules/lodash/pullAllBy.js
@@ -1,19 +1,21 @@
var baseIteratee = require('./_baseIteratee'),
- basePullAllBy = require('./_basePullAllBy');
+ basePullAll = require('./_basePullAll');
/**
* This method is like `_.pullAll` except that it accepts `iteratee` which is
* invoked for each element of `array` and `values` to generate the criterion
- * by which uniqueness is computed. The iteratee is invoked with one argument: (value).
+ * by which they're compared. The iteratee is invoked with one argument: (value).
*
* **Note:** Unlike `_.differenceBy`, this method mutates `array`.
*
* @static
* @memberOf _
+ * @since 4.0.0
* @category Array
* @param {Array} array The array to modify.
* @param {Array} values The values to remove.
- * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element.
+ * @param {Array|Function|Object|string} [iteratee=_.identity]
+ * The iteratee invoked per element.
* @returns {Array} Returns `array`.
* @example
*
@@ -25,7 +27,7 @@ var baseIteratee = require('./_baseIteratee'),
*/
function pullAllBy(array, values, iteratee) {
return (array && array.length && values && values.length)
- ? basePullAllBy(array, values, baseIteratee(iteratee))
+ ? basePullAll(array, values, baseIteratee(iteratee))
: array;
}