UNPKG

281 BTypeScriptView Raw
1/**
2 * @ignore
3 */
4export declare function arrayIndexOf<T>(array: T[], item: T, comparer: (a: T, b: T) => boolean): number;
5/**
6 * @ignore
7 */
8export declare function arrayIndexOfAsync<T>(array: T[], item: T, comparer: (a: T, b: T) => boolean | Promise<boolean>): Promise<number>;