xor source npm
_.xor([arrays])
Creates an array of unique values that is the symmetric difference of the provided arrays.
Arguments
- [arrays] (...Array)
The arrays to inspect.
Returns (Array)
Returns the new array of values.
Example
_.xor([2, 1], [4, 2]);
// => [1, 4]