Welshman Docs / @welshman/lib / union
Function: union() ​
union<
T>(a,b):T[]
Defined in: packages/lib/src/Tools.ts:437
Creates union of two arrays
Type Parameters ​
T ​
T
Parameters ​
a ​
T[]
First array
b ​
T[]
Second array
Returns ​
T[]
Array containing unique elements from both arrays