@types/is-generator-function
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

/@types/is-generator-function/

    Package Sidebar

    Install

    npm i @types/is-generator-function

    Weekly Downloads

    15,199

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    3.03 kB

    Total Files

    5

    Last publish

    Collaborators

    • types