{
  "id": "@typed/guard#any",
  "canonicalId": "@typed/guard#any",
  "symbol": {
    "id": "@typed/guard#any",
    "packageName": "@typed/guard",
    "moduleName": ".",
    "exportName": "any",
    "kind": "function",
    "signatures": [
      "export declare function any<const GS extends Readonly<Record<string, GuardInput<any, any, any, any>>>>(guards: GS): Guard<AnyInput<GS>, AnyOutput<GS>, Guard.Error<GS[keyof GS]>, Guard.Services<GS[keyof GS]>>;"
    ],
    "summary": "Runs candidates sequentially and returns the first match tagged with its key.\nCandidates are snapshotted from own enumerable keys when `any` is called.\nECMAScript own-key order applies: integer-index strings, other strings, then\nsymbols.",
    "sections": {
      "Why": "Ordered first-match dispatch turns independently composable Guards into a deterministic tagged union without treating `None` as failure.",
      "Ownership and lifetime": "Construction snapshots own enumerable entries and acquires no resources; each run executes candidates sequentially until the first `Some`."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { any, liftPredicate } from \"@typed/guard\"\nconst classify = any({ text: liftPredicate((u: unknown): u is string => typeof u === \"string\") })"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/guard/src/index.ts",
      "line": 514
    },
    "since": "1.0.0",
    "category": "Alternative selection"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/guard#any",
    "packageName": "@typed/guard",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/guard",
    "exportName": "any",
    "qualifiedName": "any",
    "declarationKey": "declaration:cc4617609be0f172ff671a10",
    "family": "function",
    "signatures": [
      "export declare function any<const GS extends Readonly<Record<string, GuardInput<any, any, any, any>>>>(guards: GS): Guard<AnyInput<GS>, AnyOutput<GS>, Guard.Error<GS[keyof GS]>, Guard.Services<GS[keyof GS]>>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/guard/src/index.ts",
        "start": {
          "line": 514,
          "column": 1
        },
        "end": {
          "line": 530,
          "column": 2
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:cc4617609be0f172ff671a10",
    "name": "any",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function any<const GS extends Readonly<Record<string, GuardInput<any, any, any, any>>>>(guards: GS): Guard<AnyInput<GS>, AnyOutput<GS>, Guard.Error<GS[keyof GS]>, Guard.Services<GS[keyof GS]>>;"
        ],
        "typeParameters": [
          "const GS extends Readonly<Record<string, GuardInput<any, any, any, any>>>"
        ],
        "sourceSpans": [
          {
            "file": "packages/guard/src/index.ts",
            "start": {
              "line": 514,
              "column": 1
            },
            "end": {
              "line": 530,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function any<const GS extends Readonly<Record<string, GuardInput<any, any, any, any>>>>(guards: GS): Guard<AnyInput<GS>, AnyOutput<GS>, Guard.Error<GS[keyof GS]>, Guard.Services<GS[keyof GS]>>;"
    ],
    "typeParameters": [
      "const GS extends Readonly<Record<string, GuardInput<any, any, any, any>>>"
    ],
    "summary": "Runs candidates sequentially and returns the first match tagged with its key.\nCandidates are snapshotted from own enumerable keys when `any` is called.\nECMAScript own-key order applies: integer-index strings, other strings, then\nsymbols.",
    "sections": {
      "Why": "Ordered first-match dispatch turns independently composable Guards into a deterministic tagged union without treating `None` as failure.",
      "Ownership and lifetime": "Construction snapshots own enumerable entries and acquires no resources; each run executes candidates sequentially until the first `Some`."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { any, liftPredicate } from \"@typed/guard\"\nconst classify = any({ text: liftPredicate((u: unknown): u is string => typeof u === \"string\") })"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/guard/src/index.ts",
        "start": {
          "line": 514,
          "column": 1
        },
        "end": {
          "line": 530,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Alternative selection"
  }
}
