MCPcopy
hub / github.com/lodash/lodash / pullAll

Function pullAll

lodash.js:7815–7819  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

basePullAllFunction · 0.85

Tested by

no test coverage detected