determine if a function is a generator function
npm install is-gen-fn
check if the value is a generator function. pulled from co.
``jsisGenFn(function *() { ... }) // trueisGenFn(function () { ... }) // false``
jsisGenFn(function *() { ... }) // trueisGenFn(function () { ... }) // false
MIT