is-gen-fn
v0.0.1 generator function fn gen
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
npm i [email protected]
Metadata
- MIT
- Whatever
- Matthew Mueller
- released 4/3/2014