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.
17 lines
505 B
17 lines
505 B
5 months ago
|
/**
|
||
|
* 数组迭代器
|
||
|
* @param list 对象
|
||
|
* @param iterate 回调
|
||
|
* @param context 上下文
|
||
|
*/
|
||
|
export declare function arrayEach<T, C>(list: T[] | ArrayLike<T>, iterate: (this: C, item: T, index: number, list: T[]) => void, context?: C): void;
|
||
|
export declare function arrayEach<C>(obj: any[], iterate: (this: C, item: any, index: number, obj: any) => void, context?: C): void;
|
||
|
|
||
|
declare module './ctor' {
|
||
|
interface XEUtilsMethods {
|
||
|
arrayEach: typeof arrayEach;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default arrayEach
|