* This method is like `_.pull` except that it accepts an array of values to remove. * * **Note:** Unlike `_.difference`, this method mutates `array`. * * @static * @memberOf _ * @since 4.0.0 * @category Array * @param {Array} array The array to modify. *
(array, values)
| 7813 | * // => ['b', 'b'] |
| 7814 | */ |
| 7815 | function pullAll(array, values) { |
| 7816 | return (array && array.length && values && values.length) |
| 7817 | ? basePullAll(array, values) |
| 7818 | : array; |
| 7819 | } |
| 7820 | |
| 7821 | /** |
| 7822 | * This method is like `_.pullAll` except that it accepts `iteratee` which is |
nothing calls this directly
no test coverage detected