if-async-fn

0.3.3 • Public • Published

if-async-fn

Build Status

Check if given function is ES2017 asynchronous function or not.

Install

$ npm install if-async-fn

Usage

const ifAsyncFn = require('if-async-fn')

ifAsyncFn(async () => ()) // true

ifAsyncFn(() => ()) // false

Package Sidebar

Install

npm i if-async-fn

Weekly Downloads

0

Version

0.3.3

License

MIT

Unpacked Size

2.4 kB

Total Files

4

Last publish

Collaborators

  • neosiae