Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/pullAll.js";

This method is like _.pull except that it accepts an array of values to remove.

Note: Unlike _.difference, this method mutates array.

Examples

var array = ['a', 'b', 'c', 'a', 'b', 'c'];

_.pullAll(array, ['a', 'c']); console.log(array); // => ['b', 'b']

Parameters

array

The array to modify.

values

The values to remove.