Skip to content

@miyue-mma/shared / shuffle

函数: shuffle()

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

随机打乱数组

类型参数

T

参数

array

T[]

待打乱数组

返回

T[]

Released under the MIT License.