Branded type utility. Creates a nominal type from a structural base type. Prevents accidental misuse of structurally identical types (e.g. PrivateKey vs MessageHash).
Branded type utility. Creates a nominal type from a structural base type. Prevents accidental misuse of structurally identical types (e.g. PrivateKey vs MessageHash).