Creates an array excluding all given values using SameValueZero for equality comparisons.
SameValueZero
Note: Unlike pull, this method returns a new array.
pull
The array to inspect.
Optional
The values to exclude.
Returns the new array of filtered values.
0.1.0
difference, union, unionBy, unionWith, xor, xorBy, xorWith
without([2, 1, 2, 3], 1, 2)// => [3] Copy
without([2, 1, 2, 3], 1, 2)// => [3]
Creates an array excluding all given values using
SameValueZero
for equality comparisons.Note: Unlike
pull
, this method returns a new array.