mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Bump to v4.14.0.
This commit is contained in:
@@ -14,7 +14,7 @@ import basePullAll from './_basePullAll.js';
|
||||
* @category Array
|
||||
* @param {Array} array The array to modify.
|
||||
* @param {Array} values The values to remove.
|
||||
* @param {Array|Function|Object|string} [iteratee=_.identity]
|
||||
* @param {Function} [iteratee=_.identity]
|
||||
* The iteratee invoked per element.
|
||||
* @returns {Array} Returns `array`.
|
||||
* @example
|
||||
@@ -27,7 +27,7 @@ import basePullAll from './_basePullAll.js';
|
||||
*/
|
||||
function pullAllBy(array, values, iteratee) {
|
||||
return (array && array.length && values && values.length)
|
||||
? basePullAll(array, values, baseIteratee(iteratee))
|
||||
? basePullAll(array, values, baseIteratee(iteratee, 2))
|
||||
: array;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user