UNPKG

iterama

Version:

Composable functional (async) iterable helpers

3 lines (2 loc) 170 B
export declare type TForEachFn<T> = (value: T, i: number) => void; export declare const forEach: <T>(forEachFn: TForEachFn<T>) => (iterable: Iterable<T>) => Iterable<T>;