12345678910111213141516 |
- /**
- * 数组迭代器
- * @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
|