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.
23 lines
720 B
23 lines
720 B
/**
|
|
* 从最后开始的索引值,返回对象第一个索引值
|
|
* @param list 数组
|
|
* @param iterate 迭代器
|
|
* @param context 上下文
|
|
*/
|
|
export declare function findLastIndexOf<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 findLastIndexOf<C>(obj: any, iterate: (this: C, item: any, key: string, obj: any) => boolean, context?: C): number;
|
|
|
|
declare module './ctor' {
|
|
interface XEUtilsMethods {
|
|
findLastIndexOf: typeof findLastIndexOf;
|
|
}
|
|
}
|
|
|
|
export default findLastIndexOf
|
|
|