Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/core / / SECRET_VALUE_BRAND

Variable: SECRET_VALUE_BRAND

ts
const SECRET_VALUE_BRAND: unique symbol;

Defined in: packages/core/src/contracts/secret-value.ts:9

Cross-realm symbol used to brand SecretValue instances. Implementations (e.g. the wrapper class shipped from @graphorin/security) attach this symbol so that isSecretValue(...) works across realms (Worker threads, sandboxes, etc.).

Stable