phaser/v3/typings/utils/array/Shuffle.d.ts
2017-01-16 22:43:07 +01:00

8 lines
251 B
TypeScript

/**
* A standard Fisher-Yates Array shuffle implementation which modifies the array in place.
*
* @method
* @param {any[]} array - The array to shuffle.
* @return {any[]} The original array, now shuffled.
*/
export default function (array: any): any;