fuzzy-rater
Version:
Tooling for fuzzily rating text according to some query
15 lines • 601 B
TypeScript
/**
* Shuffles the given array, returning the shuffled version and its indices
* @param array The array to be shuffled
* @param seed The seed to perform the shuffling with
* @returns The shuffled array and indices
*/
export declare function shuffleWithIndices<T>(array: T[], seed?: number): [T[], number[]];
/**
* Shuffles the given array
* @param array The array to be shuffled
* @param seed The seed to perform the shuffling with
* @returns The shuffled array
*/
export declare function shuffle<T>(array: T[], seed?: number): T[];
//# sourceMappingURL=shuffle.helper.d.ts.map