import { sampleSize } from './sampleSize' export function shuffle(list: T[]) { return sampleSize(list, list.length) }