Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inDemoInstall

is-generator-fn

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Issues
File Explorer

Advanced tools

is-generator-fn

Check if something is a generator function

    3.0.0latest
    Github

Version published
Maintainers
1
Weekly downloads
17,554,235
increased by7.91%

Weekly downloads

Readme

Source

is-generator-fn

Check if something is a generator function

Install

$ npm install is-generator-fn

Usage

import isGeneratorFunction from 'is-generator-fn'; isGeneratorFunction(function * () {}); //=> true isGeneratorFunction(function () {}); //=> false
  • is - Type check values

Keywords

FAQs

What is is-generator-fn?

Check if something is a generator function

Is is-generator-fn popular?

The npm package is-generator-fn receives a total of 16,824,287 weekly downloads. As such, is-generator-fn popularity was classified as popular.

Is is-generator-fn well maintained?

We found that is-generator-fn demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 11 Aug 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket[email protected]

Product

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc