{
  "id": "@typed/router/Matcher#match",
  "canonicalId": "@typed/router#match",
  "symbol": {
    "id": "@typed/router/Matcher#match",
    "packageName": "@typed/router",
    "moduleName": "Matcher",
    "exportName": "match",
    "kind": "constant",
    "signatures": [
      "export declare const match: Matcher<never>[\"match\"];"
    ],
    "summary": "The standalone route-registration function bound to `empty`.",
    "sections": {
      "Why": "Functional composition gets the same overloads and ordering semantics as `Matcher.match`.",
      "Ownership and lifetime": "Calling the bound function only allocates a Matcher case value. Handler, guard, Layer, and layout resources remain dormant until that Matcher runs."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import * as Router from \"@typed/router\"\n\nconst home = Router.match(Router.Parse(\"/\"), \"home\")"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/router/src/Matcher.ts",
      "line": 1341
    },
    "since": "1.0.0",
    "category": "Route handlers"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router/Matcher#match",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "Matcher",
    "consumerSpecifier": "@typed/router/Matcher",
    "exportName": "match",
    "qualifiedName": "match",
    "declarationKey": "declaration:cb6eb6bdc709be7524acc8d7",
    "family": "variable",
    "signatures": [
      "export declare const match: Matcher<never>[\"match\"];"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/Matcher.ts",
        "start": {
          "line": 1341,
          "column": 14
        },
        "end": {
          "line": 1341,
          "column": 70
        }
      }
    ],
    "aliases": [
      "@typed/router#match"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:cb6eb6bdc709be7524acc8d7",
    "name": "match",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const match: Matcher<never>[\"match\"];"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/Matcher.ts",
            "start": {
              "line": 1341,
              "column": 14
            },
            "end": {
              "line": 1341,
              "column": 70
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const match: Matcher<never>[\"match\"];"
    ],
    "typeParameters": [],
    "summary": "The standalone route-registration function bound to `empty`.",
    "sections": {
      "Why": "Functional composition gets the same overloads and ordering semantics as `Matcher.match`.",
      "Ownership and lifetime": "Calling the bound function only allocates a Matcher case value. Handler, guard, Layer, and layout resources remain dormant until that Matcher runs."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import * as Router from \"@typed/router\"\n\nconst home = Router.match(Router.Parse(\"/\"), \"home\")"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/Matcher.ts",
        "start": {
          "line": 1341,
          "column": 14
        },
        "end": {
          "line": 1341,
          "column": 70
        }
      }
    ],
    "since": "1.0.0",
    "category": "Route handlers"
  }
}
