UNPKG

@idealic/poker-engine

Version:

Professional poker game engine and hand evaluator with built-in iterator utilities

10 lines 427 B
/** * Functions for taking a limited number of elements from an iterable */ import type { AnyIterable } from './types'; /** * Creates a function that takes a limited number of elements from an iterable */ export declare function take<T>(input: AnyIterable<T>, count: number): AsyncGenerator<T>; export declare function take<T>(count: number): (input: AnyIterable<T>) => AsyncGenerator<T>; //# sourceMappingURL=take.d.ts.map