_.pullAll(array, values)
This method is like _.pull
except that it accepts an array of values to remove.
Note: Unlike _.difference
, this method mutates array.
Arguments
array (Array)
: The array to modify.
values (Array)
: The values to remove.
Returns
(Array)
: Returns array.