source:
node_modules/es-toolkit/dist/array/union.mjs
| Last change on this file was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 122 bytes | |
| Line | |
|---|---|
| 1 | import { uniq } from './uniq.mjs'; |
| 2 | |
| 3 | function union(arr1, arr2) { |
| 4 | return uniq(arr1.concat(arr2)); |
| 5 | } |
| 6 | |
| 7 | export { union }; |
Note:
See TracBrowser
for help on using the repository browser.
