Installation
npm install --save @types/is-generator-function
Summary
This package contains type definitions for is-generator-function (https://github.com/ljharb/is-generator-function#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-generator-function.
index.d.ts
declare function isGenerator(fn: unknown): fn is GeneratorFunction;
export = isGenerator;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Richie Bendall, and Jordan Harband.