UNPKG

xhy-xe-utils

Version:
23 lines (20 loc) 549 B
import { XEUtilsMethods } from '../xe-utils' /** * 通用迭代器,从最后开始迭代 * @param obj 对象 * @param iteratee 回调 * @param context 上下文 */ export declare function lastEach(obj: any, iteratee: Function, context?: any): void; declare module '../xe-utils' { interface XEUtilsMethods { /** * 通用迭代器,从最后开始迭代 * @param obj 对象 * @param iteratee 回调 * @param context 上下文 */ lastEach: typeof lastEach; } } export default lastEach