randomcryp
Version:
A cryptographically secure, feature rich, zero dependency and browser friendly random number generator library.
10 lines (9 loc) • 309 B
TypeScript
/**
* Returns a new string containing the characters of the input string in a shuffled order.
*/
declare function shuffle(input: string): string;
/**
* Returns a new array containing the elements of the input array in a shuffled order.
*/
declare function shuffle<E>(input: E[]): E[];
export { shuffle };