Make make nullish check consistent in _.isEmpty.

This commit is contained in:
John-David Dalton
2014-06-22 02:36:24 -07:00
parent e143a0ec6b
commit 2cae3245aa

View File

@@ -6566,7 +6566,7 @@
*/ */
function isEmpty(value) { function isEmpty(value) {
var result = true; var result = true;
if (!value) { if (value == null) {
return result; return result;
} }
var length = value.length; var length = value.length;