inferred-types 0.43.2 → 0.43.4

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.
@@ -183,6 +183,7 @@ __export(inferred_types_exports, {
183
183
  isTypeToken: () => isTypeToken,
184
184
  isTypeTuple: () => isTypeTuple,
185
185
  isUndefined: () => isUndefined,
186
+ isUrl: () => isUrl,
186
187
  join: () => join,
187
188
  keysOf: () => keysOf,
188
189
  kindError: () => kindError,
@@ -1346,6 +1347,11 @@ var isDoneFn = (val) => {
1346
1347
  return hasKeys("done")(val) && typeof val.done === "function";
1347
1348
  };
1348
1349
 
1350
+ // dist/runtime/type-guards/isUrl.js
1351
+ var isUrl = (val) => {
1352
+ return isString(val) && (val.startsWith("http://") || val.startsWith("https://"));
1353
+ };
1354
+
1349
1355
  // dist/runtime/type-guards/higher-order/endsWith.js
1350
1356
  var endsWith = (endingIn2) => (val) => {
1351
1357
  return ifString(val, (v) => v.endsWith(endingIn2) ? true : false, (v) => ifNumber(v, (n) => String(n).endsWith(endingIn2) ? true : false, () => false));
@@ -2436,6 +2442,7 @@ var asVueRef = (value) => ({
2436
2442
  isTypeToken,
2437
2443
  isTypeTuple,
2438
2444
  isUndefined,
2445
+ isUrl,
2439
2446
  join,
2440
2447
  keysOf,
2441
2448
  kindError,