4.17.11
3.10.1
2.4.2
1.3.1
_.union([arrays])
Creates an array of unique values, in order, from all given arrays using
SameValueZero
for equality comparisons.
Since
0.1.0
Arguments
argument
[arrays]
type
...Array
description
The arrays to inspect.
Returns
(array)
Example
_.union([2], [1, 2]);
// => [2, 1]
_.union([2], [1, 2]);
// => [2, 1]