Appearance
Randomly shuffles items in an array.
import { shuffle } from 'tsu' const shuffled = shuffle([0, 1, 2, 3, 4]) // eg: [3, 1, 0, 4, 2]
function shuffle<T>(array: readonly T[]): T[]