Teach utils that async functions are still functions

This commit is contained in:
AARON WELLES 2019-06-20 20:07:24 -04:00 committed by Don McCurdy
parent 743a16b398
commit 096993eb6e

View File

@ -149,7 +149,7 @@ const Common = {
}, },
isFunction: function(obj) { isFunction: function(obj) {
return Object.prototype.toString.call(obj) === '[object Function]'; return obj instanceof Function;
} }
}; };