@whitesev/utils 1.3.8 → 1.4.0

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.
@@ -5952,6 +5952,9 @@ var Utils = (function () {
5952
5952
  if (typeof checkObj === "function") {
5953
5953
  obj = checkObj();
5954
5954
  }
5955
+ if (typeof obj !== "object") {
5956
+ return;
5957
+ }
5955
5958
  if ((typeof checkPropertyName === "function" && checkPropertyName(obj)) ||
5956
5959
  Reflect.has(obj, checkPropertyName)) {
5957
5960
  isResolve = true;