phaser/v3/typings/utils/array/Shuffle.d.ts

9 lines
251 B
TypeScript
Raw Normal View History

2017-01-16 21:43:07 +00:00
/**
* 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;