{
  "id": "@typed/fx/RefRecord#has",
  "canonicalId": "@typed/fx/RefRecord#has",
  "symbol": {
    "id": "@typed/fx/RefRecord#has",
    "packageName": "@typed/fx",
    "moduleName": "RefRecord",
    "exportName": "has",
    "kind": "constant",
    "signatures": [
      "export declare const has: {\n    <K extends string>(key: K): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;\n    <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, key: K): RefSubject.Computed<boolean, E, R>;\n};"
    ],
    "summary": "Check if a key exists in the Record.",
    "sections": {
      "Why": "Makes has a live projection of the record; consumers can sample it now or observe it without\ncopying the source state.",
      "Ownership and lifetime": "The has view retains no independent state. An Effect read samples the source once; Fx\nobservation follows later pushes and its observing Scope owns subscription cleanup."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefRecord.ts",
      "line": 474
    },
    "since": "1.18.0",
    "category": "State predicates"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/RefRecord#has",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": "RefRecord",
    "consumerSpecifier": "@typed/fx/RefRecord",
    "exportName": "has",
    "qualifiedName": "has",
    "declarationKey": "declaration:fa924f29a65f16040190ae06",
    "family": "variable",
    "signatures": [
      "export declare const has: {\n    <K extends string>(key: K): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;\n    <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, key: K): RefSubject.Computed<boolean, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 474,
          "column": 14
        },
        "end": {
          "line": 484,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 475,
          "column": 3
        },
        "end": {
          "line": 477,
          "column": 82
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 478,
          "column": 3
        },
        "end": {
          "line": 481,
          "column": 41
        }
      }
    ],
    "aliases": [
      "@typed/fx#RefRecord.has"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:fa924f29a65f16040190ae06",
    "name": "has",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const has: {\n    <K extends string>(key: K): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;\n    <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, key: K): RefSubject.Computed<boolean, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefRecord.ts",
            "start": {
              "line": 474,
              "column": 14
            },
            "end": {
              "line": 484,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<K extends string>(key: K): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;",
          "<K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, key: K): RefSubject.Computed<boolean, E, R>;"
        ],
        "typeParameters": [
          "K extends string",
          "V",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefRecord.ts",
            "start": {
              "line": 475,
              "column": 3
            },
            "end": {
              "line": 477,
              "column": 82
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefRecord.ts",
            "start": {
              "line": 478,
              "column": 3
            },
            "end": {
              "line": 481,
              "column": 41
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const has: {\n    <K extends string>(key: K): <V, E, R>(ref: RefRecord<K, V, E, R>) => RefSubject.Computed<boolean, E, R>;\n    <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, key: K): RefSubject.Computed<boolean, E, R>;\n};"
    ],
    "typeParameters": [
      "K extends string",
      "V",
      "E",
      "R"
    ],
    "summary": "Check if a key exists in the Record.",
    "sections": {
      "Why": "Makes has a live projection of the record; consumers can sample it now or observe it without\ncopying the source state.",
      "Ownership and lifetime": "The has view retains no independent state. An Effect read samples the source once; Fx\nobservation follows later pushes and its observing Scope owns subscription cleanup."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 474,
          "column": 14
        },
        "end": {
          "line": 484,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 475,
          "column": 3
        },
        "end": {
          "line": 477,
          "column": 82
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 478,
          "column": 3
        },
        "end": {
          "line": 481,
          "column": 41
        }
      }
    ],
    "since": "1.18.0",
    "category": "State predicates"
  }
}
