Appearance
创建一个包含所有给定数组唯一元素的新数组。
import { union } from '@base-web-kits/base-tools-ts'; union([2], [1, 2]); // 结果: [2, 1]
arrays (...Array)
(Array)