Gazebo_simulation-Frontend/node_modules/is-generator-fn
Riddhi Dave f4870cd530 simulator page updates 2020-12-22 09:59:14 -05:00
..
index.js React files 2020-12-21 10:29:31 -05:00
license React files 2020-12-21 10:29:31 -05:00
package.json simulator page updates 2020-12-22 09:59:14 -05:00
readme.md React files 2020-12-21 10:29:31 -05:00

readme.md

is-generator-fn Build Status

Check if something is a generator function

Install

$ npm install --save is-generator-fn

Usage

const isGeneratorFn = require('is-generator-fn');

isGeneratorFn(function * () {});
//=> true

isGeneratorFn(function () {});
//=> false

License

MIT © Sindre Sorhus