From 250ecd13bddba13178eca65caa0167bfaa487cfe Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 15 Apr 2014 22:41:01 -0700 Subject: [PATCH] Avoid `!=` in `createCallback`. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index b301cfe5d..e32c1f0f9 100644 --- a/lodash.js +++ b/lodash.js @@ -7796,7 +7796,7 @@ func || baseCreateCallback(func, thisArg, argCount); } // handle "_.pluck" and "_.where" style callback shorthands - return type != 'object' ? property(func) : matches(func); + return type == 'object' ? matches(func) : property(func); } /**