Const
Factory namespace for creating and managing branded types. Provides utilities to apply runtime brands to values, create discriminated error types, and access the brand symbol for type narrowing in union discriminants.
Applies a runtime brand to a value, creating a nominal type.
Unique symbol used to store and access brand identifiers.
Creates a branded error class factory for discriminated error handling.
Factory namespace for creating and managing branded types. Provides utilities to apply runtime brands to values, create discriminated error types, and access the brand symbol for type narrowing in union discriminants.