function isAsyncFunction(func){ return Object.prototype.toString.call(func) === '[object AsyncFunction]'; }