@whitesev/utils 1.3.8 → 1.3.9

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/dist/index.umd.js CHANGED
@@ -5955,6 +5955,9 @@
5955
5955
  if (typeof checkObj === "function") {
5956
5956
  obj = checkObj();
5957
5957
  }
5958
+ if (typeof obj !== "object") {
5959
+ return;
5960
+ }
5958
5961
  if ((typeof checkPropertyName === "function" && checkPropertyName(obj)) ||
5959
5962
  Reflect.has(obj, checkPropertyName)) {
5960
5963
  isResolve = true;