* 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)
| 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 |
nothing calls this directly
no test coverage detected