Package: effect
Module: Brand
Returns a Constructor that does not apply any runtime checks and just
returns the provided value.
When to use
Use to create nominal types that allow distinguishing between two values of the same type but with different meanings.
See
make for constructing branded values with validation.check for constructing branded values from schema checks.Signature
declare const nominal: <A extends Brand<any>>() => Constructor<A>
Since v2.0.0