UNPKG

ix

Version:

The Interactive Extensions for JavaScript

9 lines (8 loc) 281 B
/** * @ignore */ export declare function arrayIndexOf<T>(array: T[], item: T, comparer: (a: T, b: T) => boolean): number; /** * @ignore */ export declare function arrayIndexOfAsync<T>(array: T[], item: T, comparer: (a: T, b: T) => boolean | Promise<boolean>): Promise<number>;