@ztimson/utils 0.26.12 → 0.26.13

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.mjs CHANGED
@@ -2048,9 +2048,9 @@ function logicTest(target, condition) {
2048
2048
  case "!=":
2049
2049
  return a != b;
2050
2050
  case "+":
2051
- return a.toString().includes(b);
2051
+ return a == null ? void 0 : a.toString().includes(b);
2052
2052
  case "-":
2053
- return !a.toString().includes(b);
2053
+ return !(a == null ? void 0 : a.toString().includes(b));
2054
2054
  case ">":
2055
2055
  return a > b;
2056
2056
  case ">=":