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

Readme

Keywords

none

Package Sidebar

Install

npm i is-es7-async-function

Weekly Downloads

0

Version

1.0.3

License

MIT

Last publish

Collaborators

  • vkyin