From c500b2cc1617c2ffa86e0b1ec204a8bf126e9820 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 10 Jan 2017 00:48:15 -0800 Subject: [PATCH] Rearrange tag check order in `isFunction`. --- isFunction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isFunction.js b/isFunction.js index cec74a980..1ff95d433 100644 --- a/isFunction.js +++ b/isFunction.js @@ -30,7 +30,7 @@ function isFunction(value) { // The use of `Object#toString` avoids issues with the `typeof` operator // in Safari 9 which returns 'object' for typed arrays and other constructors. const tag = baseGetTag(value); - return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; + return tag == funcTag || tag == asyncTag || tag == genTag || tag == proxyTag; } export default isFunction;