shuffle.d.ts 235 B

123456
  1. /**
  2. * Fisher-Yates shuffle ES6 non-mutating implementation.
  3. * @param {Array} array the array to shuffle
  4. * @return {Array} shuffled array without mutating the initial array.
  5. */
  6. export declare const shuffle: (array: any[]) => any[];