if-async-fn 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