xor
_.xor(arrays, arrays)
# Ⓢ [Ⓣ][1] Ⓝ
Creates an array of unique values that is the
of the given arrays. The order of result values is determined by the order
they occur in the arrays.
Since
2.4.0
Arguments
arrays(Array): The arrays to inspect.arrays(Array): The arrays to inspect.
Returns
(Array): Returns the new array of filtered values.
Example
_.xor([2, 3], [2, 1]);
// => [1, 3]