UNPKG

@cspell/cspell-pipe

Version:
8 lines 435 B
export declare function opTakeAsync<T>(count: number): (iter: AsyncIterable<T> | Iterable<T>) => AsyncIterable<T>; export declare function opTakeSync<T>(count: number): (iter: Iterable<T>) => Iterable<T>; /** * Consume only the first `count` number from the iterable. * @param count - number to take */ export declare const opTake: <T>(count: number) => import("../internalTypes.js").PipeFn<T, T>; //# sourceMappingURL=take.d.ts.map