inferred-types 0.55.14 → 0.55.15

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.
@@ -6405,15 +6405,20 @@ function endsWith(endingIn2) {
6405
6405
  return isString(val) ? !!val.endsWith(endingIn2) : isNumber(val) ? !!String(val).endsWith(endingIn2) : false;
6406
6406
  };
6407
6407
  }
6408
- function isEqual(base) {
6409
- return (value) => isSameTypeOf(base)(value) ? value === base : false;
6408
+ function compare(base) {
6409
+ return (value) => {
6410
+ return base.includes(value);
6411
+ };
6412
+ }
6413
+ function isEqual(...base) {
6414
+ return compare(base);
6410
6415
  }
6411
6416
  function isLength(value, len) {
6412
6417
  return isArray(value) ? !!isEqual(value.length)(len) : isString(value) ? !!isEqual(value.length)(len) : isObject(value) ? !!isEqual(keysOf(value))(len) : false;
6413
6418
  }
6414
6419
  function isSameTypeOf(base) {
6415
- return (compare) => {
6416
- return typeof base === typeof compare;
6420
+ return (compare2) => {
6421
+ return typeof base === typeof compare2;
6417
6422
  };
6418
6423
  }
6419
6424
  function isTuple(...tuple3) {