/** * @short * Perform an operation *for each* yielded value. * * @categories * static * * @description * Perform the given function for each value yielded from the given iterable. * * @since * 0.0.1 * * @parameter * iterable * Iterable * An iterable to iterate over. * * @parameter * fn * (item: T, index: number) => void * A function to be performed for each yielded value. The first argument is the * yielded value, and the second argument is its zero-based index. * * @returns * void * * @example * j.ForEach([1, 2, 3], console.log) * // => void */ export declare function ForEach(iterable: Iterable, fn: (item: T, index: number) => void): void;