Navigator Prefabricating Marinates
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

is-async-generator

0.1.3 • Public • Published

is-async-generator

Build Status

Check if given function is asynchronous generator or not.

Install

$ npm install is-async-generator

Usage

const isAsyncGenerator = require('is-async-generator')
 
isAsyncGenerator(async function * () {}) // true
 
isAsyncGenerator(function * () {}) // false

Install

npm i is-async-generator

DownloadsWeekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

2.5 kB

Total Files

4

Last publish

Collaborators

  • avatar