inferred-types 0.48.1 → 0.48.3

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.
@@ -259,6 +259,7 @@ __export(inferred_types_exports, {
259
259
  isGithubRepoUrl: () => isGithubRepoUrl,
260
260
  isGithubUrl: () => isGithubUrl,
261
261
  isHexadecimal: () => isHexadecimal,
262
+ isHtmlElement: () => isHtmlElement,
262
263
  isIndexable: () => isIndexable,
263
264
  isInlineSvg: () => isInlineSvg,
264
265
  isIp4Address: () => isIp4Address,
@@ -2912,6 +2913,11 @@ var isTuple = (...tuple3) => {
2912
2913
  };
2913
2914
  };
2914
2915
 
2916
+ // src/runtime/type-guards/html/isHtmlElement.ts
2917
+ var isHtmlElement = (val) => {
2918
+ return isObject(val) && "attributes" in val && "firstElementChild" in val && "innerHTML" in val;
2919
+ };
2920
+
2915
2921
  // src/runtime/literals/stripTrailing.ts
2916
2922
  function stripTrailing(content, ...strip) {
2917
2923
  let output = String(content);
@@ -4168,6 +4174,7 @@ var asVueRef = (value) => ({
4168
4174
  isGithubRepoUrl,
4169
4175
  isGithubUrl,
4170
4176
  isHexadecimal,
4177
+ isHtmlElement,
4171
4178
  isIndexable,
4172
4179
  isInlineSvg,
4173
4180
  isIp4Address,