Campo · Shuffle
Campo · Shuffle · helpers.shuffle. Método de geração · Exemplo
helpers.shuffle
Configurações do gerador
Gere dados para ver os resultados.
Parâmetros & Exemplo
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.
Exemplo
["beta","alpha","gamma"]Use dados sintéticos em um ambiente de teste.