Package Exports
- is-generator-function
- is-generator-function/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-generator-function) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-generator-function 
Is this a native generator function?
Example
var isGeneratorFunction = require('is-generator-function');
assert(!isGeneratorFunction(function () {}));
assert(!isGeneratorFunction(null));
assert(isGeneratorFunction(function* () { yield 42; return Infinity; }));Tests
Simply clone the repo, npm install, and run npm test
