UNPKG

@pacote/shuffle

Version:

An implementation of the Durstenfeld algorithm for shuffling collections.

2 lines (1 loc) 62 B
export declare function shuffle<T>(items: readonly T[]): T[];