MCPcopy
hub / github.com/lodash/lodash / pullAllWith

Function pullAllWith

lodash.js:7873–7877  ·  view source on GitHub ↗

* This method is like `_.pullAll` except that it accepts `comparator` which * is invoked to compare elements of `array` to `values`. The comparator is * invoked with two arguments: (arrVal, othVal). * * **Note:** Unlike `_.differenceWith`, this method mutates `array`. *

(array, values, comparator)

Source from the content-addressed store, hash-verified

7871 * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]
7872 */
7873 function pullAllWith(array, values, comparator) {
7874 return (array && array.length && values && values.length)
7875 ? basePullAll(array, values, undefined, comparator)
7876 : array;
7877 }
7878
7879 /**
7880 * Removes elements from `array` corresponding to `indexes` and returns an

Callers

nothing calls this directly

Calls 1

basePullAllFunction · 0.85

Tested by

no test coverage detected