Skip to content

xdash API Reference v0.5.14


xdash API Reference / union

Function: union() ​

union<T>(...arrs): T[]

Defined in: src/array.ts:125

Creates an array of unique values, in order, from all given arrays using SameValueZero for equality comparisons.

Type Parameters ​

T ​

T

Parameters ​

arrs ​

...T[][]

arrays to union

Returns ​

T[]

the unioned array

Released under the MIT License.