is-generator-function

v1.0.7
Determine if a function is a native generator function.
generator generator function es6 es2015 yield function function*

pretest

npm run lint

test

npm run tests-only

tests-only

node --es-staging --harmony test

posttests-only

npm run test:corejs && npm run test:uglified

test:corejs

node test/corejs

test:uglified

node test/uglified

posttest

npm run security

coverage

covert test

lint

npm run jscs && npm run eslint

jscs

jscs *.js */*.js

eslint

eslint *.js */*.js

security

nsp check

Metadata

  • MIT
  • >= 0.4
  • Jordan Harband
  • released 12/28/2017

Downloads

Maintainers