utiller 1.0.184 → 1.0.185
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/utiller/index.js
CHANGED
|
@@ -1220,7 +1220,7 @@ var Utiller = /*#__PURE__*/function () {
|
|
|
1220
1220
|
key: "isUndefinedNullEmpty",
|
|
1221
1221
|
value: function isUndefinedNullEmpty(obj) {
|
|
1222
1222
|
var first = obj === undefined || obj === null;
|
|
1223
|
-
var second = _lodash["default"].isString(obj) || _lodash["default"].isArray(obj)
|
|
1223
|
+
var second = _lodash["default"].isString(obj) || _lodash["default"].isArray(obj) || _lodash["default"].isObject(obj) ? _lodash["default"].isEmpty(obj) : false;
|
|
1224
1224
|
return first || second;
|
|
1225
1225
|
}
|
|
1226
1226
|
}, {
|
package/package.json
CHANGED