0.0.2 • Published 4 years ago
is-gen-fn v0.0.2
is-gen-fn
check if the value is a generator function. pulled from co.
Installation
npm install is-gen-fnUsage
isGenFn(function *() { ... }) // true
isGenFn(function () { ... }) // falseLicense
MIT
check if the value is a generator function. pulled from co.
npm install is-gen-fnisGenFn(function *() { ... }) // true
isGenFn(function () { ... }) // falseMIT