1 | export declare function hash(str: string): number;
|
2 | export declare function toString(value: any): any;
|
3 | export declare function defaultCompare<T>(a: T, b: T, key?: keyof T): boolean;
|
4 | export declare function defaultEqualCompare<T>(a: T, b: T): 0 | 1 | -1;
|
5 | export declare function random(begin: number, end: number): number;
|
6 | export declare function swap(arr: Array<any>, i: number, j: number): void;
|