Shuffle生成器
Shuffle生成器 · helpers.shuffle. 生成方法 · 示例
helpers.shuffle
生成设置
生成后在这里查看结果。
参数 & 示例
Takes an array and randomizes it in place then returns it.
helpers.shuffle(list: T[], options: { inplace })- list
- The array to shuffle.
- options
- The options to use when shuffling.
- options.inplace
- Whether to shuffle the array in place or return a new array. Defaults to false.
示例
["beta","alpha","gamma"]请在测试环境使用合成数据。