is-generator-function-name
Check that given value have
GeneratorFunction
name or displayName.
Install
npm i is-generator-function-name --save
npm test
Usage
For more use-cases see the tests
var isGeneratorFunctionName = //=> false //=> false //=> false //=> true //=> true
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.