Skip to content

@miyue-mma/shared / unique

函数: unique()

ts
function unique<T>(array): T[]

数组去重

类型参数

T

参数

array

T[]

待去重数组

返回

T[]

Released under the MIT License.