{
  "id": "@typed/fx/RefHashRing#has",
  "canonicalId": "@typed/fx/RefHashRing#has",
  "symbol": {
    "id": "@typed/fx/RefHashRing#has",
    "packageName": "@typed/fx",
    "moduleName": "RefHashRing",
    "exportName": "has",
    "kind": "constant",
    "signatures": [
      "export declare const has: {\n    <A extends PrimaryKey.PrimaryKey>(node: A): <E, R>(ref: RefHashRing<A, E, R>) => RefSubject.Computed<boolean, E, R>;\n    <A extends PrimaryKey.PrimaryKey, E, R>(ref: RefHashRing<A, E, R>, node: A): RefSubject.Computed<boolean, E, R>;\n};"
    ],
    "summary": "Check if a node exists in the HashRing.",
    "sections": {
      "Why": "Makes has a live projection of the hash ring; 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/RefHashRing.ts",
      "line": 223
    },
    "since": "1.18.0",
    "category": "State predicates"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/RefHashRing#has",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": "RefHashRing",
    "consumerSpecifier": "@typed/fx/RefHashRing",
    "exportName": "has",
    "qualifiedName": "has",
    "declarationKey": "declaration:8f58a95ff74be8900aa89d0d",
    "family": "variable",
    "signatures": [
      "export declare const has: {\n    <A extends PrimaryKey.PrimaryKey>(node: A): <E, R>(ref: RefHashRing<A, E, R>) => RefSubject.Computed<boolean, E, R>;\n    <A extends PrimaryKey.PrimaryKey, E, R>(ref: RefHashRing<A, E, R>, node: A): RefSubject.Computed<boolean, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefHashRing.ts",
        "start": {
          "line": 223,
          "column": 14
        },
        "end": {
          "line": 237,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashRing.ts",
        "start": {
          "line": 224,
          "column": 3
        },
        "end": {
          "line": 226,
          "column": 78
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashRing.ts",
        "start": {
          "line": 227,
          "column": 3
        },
        "end": {
          "line": 230,
          "column": 41
        }
      }
    ],
    "aliases": [
      "@typed/fx#RefHashRing.has"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:8f58a95ff74be8900aa89d0d",
    "name": "has",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const has: {\n    <A extends PrimaryKey.PrimaryKey>(node: A): <E, R>(ref: RefHashRing<A, E, R>) => RefSubject.Computed<boolean, E, R>;\n    <A extends PrimaryKey.PrimaryKey, E, R>(ref: RefHashRing<A, E, R>, node: A): RefSubject.Computed<boolean, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashRing.ts",
            "start": {
              "line": 223,
              "column": 14
            },
            "end": {
              "line": 237,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<A extends PrimaryKey.PrimaryKey>(node: A): <E, R>(ref: RefHashRing<A, E, R>) => RefSubject.Computed<boolean, E, R>;",
          "<A extends PrimaryKey.PrimaryKey, E, R>(ref: RefHashRing<A, E, R>, node: A): RefSubject.Computed<boolean, E, R>;"
        ],
        "typeParameters": [
          "A extends PrimaryKey.PrimaryKey",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashRing.ts",
            "start": {
              "line": 224,
              "column": 3
            },
            "end": {
              "line": 226,
              "column": 78
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefHashRing.ts",
            "start": {
              "line": 227,
              "column": 3
            },
            "end": {
              "line": 230,
              "column": 41
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const has: {\n    <A extends PrimaryKey.PrimaryKey>(node: A): <E, R>(ref: RefHashRing<A, E, R>) => RefSubject.Computed<boolean, E, R>;\n    <A extends PrimaryKey.PrimaryKey, E, R>(ref: RefHashRing<A, E, R>, node: A): RefSubject.Computed<boolean, E, R>;\n};"
    ],
    "typeParameters": [
      "A extends PrimaryKey.PrimaryKey",
      "E",
      "R"
    ],
    "summary": "Check if a node exists in the HashRing.",
    "sections": {
      "Why": "Makes has a live projection of the hash ring; 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/RefHashRing.ts",
        "start": {
          "line": 223,
          "column": 14
        },
        "end": {
          "line": 237,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashRing.ts",
        "start": {
          "line": 224,
          "column": 3
        },
        "end": {
          "line": 226,
          "column": 78
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashRing.ts",
        "start": {
          "line": 227,
          "column": 3
        },
        "end": {
          "line": 230,
          "column": 41
        }
      }
    ],
    "since": "1.18.0",
    "category": "State predicates"
  }
}
