Campo · Shuffle
Campo · Shuffle · helpers.shuffle. Método de generación · Ejemplo
helpers.shuffle
Opciones del generador
Genera datos para ver los resultados.
Parámetros & Ejemplo
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.
Ejemplo
["beta","alpha","gamma"]Usa datos sintéticos en el entorno de prueba.