MCPcopy
hub / github.com/lodash/lodash / pullAllBy

Function pullAllBy

lodash.js:7844–7848  ·  view source on GitHub ↗

* 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 they're compared. The iteratee is invoked with one argument: (value). * * **Note:** Unlike `_.differenceBy`, this m

(array, values, iteratee)

Source from the content-addressed store, hash-verified

7842 * // => [{ 'x': 2 }]
7843 */
7844 function pullAllBy(array, values, iteratee) {
7845 return (array && array.length && values && values.length)
7846 ? basePullAll(array, values, getIteratee(iteratee, 2))
7847 : array;
7848 }
7849
7850 /**
7851 * This method is like `_.pullAll` except that it accepts `comparator` which

Callers

nothing calls this directly

Calls 2

basePullAllFunction · 0.85
getIterateeFunction · 0.85

Tested by

no test coverage detected