{
  "id": "@typed/template#isElement",
  "canonicalId": "@typed/template#isElement",
  "symbol": {
    "id": "@typed/template#isElement",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "isElement",
    "kind": "function",
    "signatures": [
      "export declare function isElement(node: Rendered): node is Element;"
    ],
    "summary": "Checks if a rendered node is an `Element`.",
    "sections": {
      "Why": "Element-only operations remain expressed through native DOM types.",
      "Ownership and lifetime": "The check borrows the candidate for a native element-kind test and does not\nclaim or retain the Element."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { isElement } from \"@typed/template/Wire\"\n\nconst result = isElement(document.createElement(\"div\"))"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Wire.ts",
      "line": 498
    },
    "since": "1.0.0",
    "category": "Native element recognition"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#isElement",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "isElement",
    "qualifiedName": "isElement",
    "declarationKey": "declaration:f6f9d96a87fc670a26cc3833",
    "family": "function",
    "signatures": [
      "export declare function isElement(node: Rendered): node is Element;"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Wire.ts",
        "start": {
          "line": 498,
          "column": 1
        },
        "end": {
          "line": 500,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/template/Wire#isElement"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:f6f9d96a87fc670a26cc3833",
    "name": "isElement",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function isElement(node: Rendered): node is Element;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Wire.ts",
            "start": {
              "line": 498,
              "column": 1
            },
            "end": {
              "line": 500,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function isElement(node: Rendered): node is Element;"
    ],
    "typeParameters": [],
    "summary": "Checks if a rendered node is an `Element`.",
    "sections": {
      "Why": "Element-only operations remain expressed through native DOM types.",
      "Ownership and lifetime": "The check borrows the candidate for a native element-kind test and does not\nclaim or retain the Element."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { isElement } from \"@typed/template/Wire\"\n\nconst result = isElement(document.createElement(\"div\"))"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Wire.ts",
        "start": {
          "line": 498,
          "column": 1
        },
        "end": {
          "line": 500,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Native element recognition"
  }
}
