shuffle
shuffle<
T>(arr,rand?):T[]
Defined in: src/modules/rng/rng.ts:74
In-place Fisher–Yates shuffle. Returns the same array for chaining.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”T[]
RandomFn = Math.random
Returns
Section titled “Returns”T[]