UNPKG

277 BTypeScriptView Raw
1/**
2 * Returns true if `x` is an instantiated ES6 generator (i.e. it
3 * {@link isIterable} and {@link implementsFunction} `next`).
4 *
5 * @param x
6 */
7export declare const isGenerator: (x: any) => x is Generator<unknown, any, unknown>;
8//# sourceMappingURL=is-generator.d.ts.map
\No newline at end of file