type SetEachIteratee = ( this: T, value: V, key: K, collection: C ) => void | boolean; /** * 通用迭代器 * @param collection Set * @param iteratee 回调 * @param context 上下文 */ declare function setEach( collection: Set, iteratee: SetEachIteratee, Ctx>, context?: Ctx ): void; declare module './ctor' { interface XEUtilsMethods { setEach: typeof setEach; } } export default setEach