UNPKG

ts-ds-tool

Version:

Data structure and algorithm of TypeScript

2 lines (1 loc) 109 B
export declare function randomizedSelect<T>(arr: Array<T>, i: number, compare?: (a: T, b: T) => boolean): T;