UNPKG

@daiso-tech/core

Version:

The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.

15 lines (14 loc) 516 B
/** * @module Collection */ import { type ICollection, type Modifier } from "../../../../collection/contracts/_module-exports.js"; /** * @internal */ export declare class WhenIterable<TInput, TExtended> implements Iterable<TInput | TExtended> { private collection; private condition; private callback; constructor(collection: ICollection<TInput>, condition: () => boolean, callback: Modifier<ICollection<TInput>, ICollection<TExtended>>); [Symbol.iterator](): Iterator<TInput | TExtended>; }