徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
618 B

5 months ago
/**
*
* @param list
* @param iterate
* @param context
*/
export declare function findKey<T, C>(list: T[], iterate: (this: C, item: T, index: number, list: T[])=> boolean, context?: C): number;
/**
*
* @param obj
* @param iterate
* @param context
*/
export declare function findKey<T, C>(obj: T, iterate: (this: C, item: any, key: string, obj: T)=> boolean, context?: C): any;
declare module './ctor' {
interface XEUtilsMethods {
findKey: typeof findKey;
}
}
export default findKey