is-gen-fn
v0.0.2
Published
determine if a function is a generator function
Downloads
58,485
Readme
is-gen-fn
check if the value is a generator function. pulled from co.
Installation
npm install is-gen-fn
Usage
isGenFn(function *() { ... }) // true
isGenFn(function () { ... }) // false
License
MIT