is-es7-async-function

1.0.3 • Public • Published

is-es7-async-function

to check if a function is an es7 async-function

badges

npm Build Status npm npm vkyin.cn

Installation

npm install is-es7-async-funciton --save

Usage

const isEs7AsyncFunction = require('is-es7-async-funciton');

let fn = async function(){};
let anotherFn = function(){};

isEs7AsyncFunction(fn);         //return true
isEs7AsyncFunction(anotherFn);  //return false

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.30latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.30
1.0.20

Package Sidebar

Install

npm i is-es7-async-function

Weekly Downloads

0

Version

1.0.3

License

MIT

Last publish

Collaborators

  • vkyin