@wixc3/common on Github
Home > @wixc3/common > shuffle
Shuffles an array
Signature:
export declare function shuffle<T>(array: T[]): T[];
Returns:
T[]
a new array with the same elements in a random order