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.
- package/modules/inferred-types/dist/index.cjs +9 -4
- package/modules/inferred-types/dist/index.cjs.map +1 -1
- package/modules/inferred-types/dist/index.d.ts +17 -16
- package/modules/inferred-types/dist/index.js +9 -4
- package/modules/inferred-types/dist/index.js.map +1 -1
- package/modules/runtime/dist/index.cjs +9 -4
- package/modules/runtime/dist/index.cjs.map +1 -1
- package/modules/runtime/dist/index.d.ts +16 -15
- package/modules/runtime/dist/index.js +9 -4
- package/modules/runtime/dist/index.js.map +1 -1
- package/modules/types/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
6409
|
-
return (value) =>
|
|
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 (
|
|
6416
|
-
return typeof base === typeof
|
|
6420
|
+
return (compare2) => {
|
|
6421
|
+
return typeof base === typeof compare2;
|
|
6417
6422
|
};
|
|
6418
6423
|
}
|
|
6419
6424
|
function isTuple(...tuple3) {
|