UNPKG

arcade-physics

Version:
23 lines 664 B
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Shuffles the contents of the given array using the Fisher-Yates implementation. * * The original array is modified directly and returned. * * @function Phaser.Utils.Array.Shuffle * @since 3.0.0 * * @generic T * @genericUse {T[]} - [array,$return] * * @param {T[]} array - The array to shuffle. This array is modified in place. * * @return {T[]} The shuffled array. */ declare const Shuffle: (array: any) => any; export { Shuffle }; //# sourceMappingURL=Shuffle.d.ts.map