UNPKG

@thi.ng/checks

Version:

Collection of 70+ type, feature & value checks

8 lines 266 B
/** * Returns true if `x` is an instantiated ES6 generator (i.e. it * {@link isIterable} and {@link implementsFunction} `next`). * * @param x */ export declare const isGenerator: <T = any>(x: any) => x is Generator<T>; //# sourceMappingURL=is-generator.d.ts.map