UNPKG
rndlib
Version:
latest (0.9.3)
0.9.3
0.9.2
0.9.1
0.9.0
Easy to use randomizer functions with TypeScript support
github.com/hcollin/rndlib
rndlib
/
dist
/
shuffle.d.ts
8 lines
(7 loc)
•
179 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** * Return a shallow copy the provided array and shuffle its contents. * *
@param
Array<T> *
@returns
Array<T> */
export
declare
function
shuffle<T>(
arr
: T[]): T[];