Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (9 sloc) 634 Bytes

Home > > shuffle

shuffle variable

Applies shuffleRange to the given array. If n is given, only the first n items are shuffled. Mutates original array.



shuffle: <T extends any[] | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array>(buf: T, n?: number, rnd?: IRandom) => T
You can’t perform that action at this time.