{
  "id": "@typed/ui/Tree#isExpanded",
  "canonicalId": "@typed/ui/Tree#isExpanded",
  "symbol": {
    "id": "@typed/ui/Tree#isExpanded",
    "packageName": "@typed/ui",
    "moduleName": "Tree",
    "exportName": "isExpanded",
    "kind": "function",
    "signatures": [
      "export declare function isExpanded(state: State, id: string): boolean;"
    ],
    "summary": "Tests membership in expandedIds without touching the DOM.",
    "sections": {},
    "examples": [
      {
        "language": "ts",
        "code": "import * as Tree from \"@typed/ui/Tree\";\n\nconst expanded = Tree.isExpanded({ activeId: null, expandedIds: [\"parent\"], loop: true }, \"parent\");"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Tree.ts",
      "line": 209
    },
    "since": "1.0.0",
    "category": "Expansion"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/Tree#isExpanded",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "Tree",
    "consumerSpecifier": "@typed/ui/Tree",
    "exportName": "isExpanded",
    "qualifiedName": "isExpanded",
    "declarationKey": "declaration:bc5eec10a0bf21c09cc1cf3e",
    "family": "function",
    "signatures": [
      "export declare function isExpanded(state: State, id: string): boolean;"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Tree.ts",
        "start": {
          "line": 209,
          "column": 1
        },
        "end": {
          "line": 211,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/ui#Tree.isExpanded",
      "@typed/ui/index#Tree.isExpanded"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:bc5eec10a0bf21c09cc1cf3e",
    "name": "isExpanded",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function isExpanded(state: State, id: string): boolean;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Tree.ts",
            "start": {
              "line": 209,
              "column": 1
            },
            "end": {
              "line": 211,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function isExpanded(state: State, id: string): boolean;"
    ],
    "typeParameters": [],
    "summary": "Tests membership in expandedIds without touching the DOM.",
    "sections": {},
    "examples": [
      {
        "language": "ts",
        "code": "import * as Tree from \"@typed/ui/Tree\";\n\nconst expanded = Tree.isExpanded({ activeId: null, expandedIds: [\"parent\"], loop: true }, \"parent\");"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Tree.ts",
        "start": {
          "line": 209,
          "column": 1
        },
        "end": {
          "line": 211,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Expansion"
  }
}
