inferred-types 0.43.5 → 0.43.6

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.
@@ -161,6 +161,7 @@ __export(inferred_types_exports, {
161
161
  isFnWithParams: () => isFnWithParams,
162
162
  isFunction: () => isFunction,
163
163
  isIndexable: () => isIndexable,
164
+ isInlineSvg: () => isInlineSvg,
164
165
  isLength: () => isLength,
165
166
  isNever: () => isNever,
166
167
  isNotNull: () => isNotNull,
@@ -1372,6 +1373,11 @@ var isCssAspectRatio = (val) => {
1372
1373
  return isString(val) && val.split(/\s+/).every((i) => tokens.includes(i) || isRatio(i));
1373
1374
  };
1374
1375
 
1376
+ // dist/runtime/type-guards/isInlineSvg.js
1377
+ var isInlineSvg = (v) => {
1378
+ return isString(v) && v.trim().startsWith(`<svg`) && v.trim().endsWith(`</svg>`);
1379
+ };
1380
+
1375
1381
  // dist/runtime/type-guards/higher-order/endsWith.js
1376
1382
  var endsWith = (endingIn2) => (val) => {
1377
1383
  return ifString(val, (v) => v.endsWith(endingIn2) ? true : false, (v) => ifNumber(v, (n) => String(n).endsWith(endingIn2) ? true : false, () => false));
@@ -2440,6 +2446,7 @@ var asVueRef = (value) => ({
2440
2446
  isFnWithParams,
2441
2447
  isFunction,
2442
2448
  isIndexable,
2449
+ isInlineSvg,
2443
2450
  isLength,
2444
2451
  isNever,
2445
2452
  isNotNull,