Package: effect
Module: Schema
Type-level representation returned by brand.
Signature
export interface brand<S extends Constraint, B> extends
BottomLazy<
S["ast"],
brand<S, B>,
S["~type.parameters"],
S["~type.mutability"],
S["~type.optionality"],
S["~type.constructor.default"],
S["~encoded.mutability"],
S["~encoded.optionality"]
>
{
readonly "Type": S["Type"] & DistributeBrands<B>
readonly "Encoded": S["Encoded"]
readonly "DecodingServices": S["DecodingServices"]
readonly "EncodingServices": S["EncodingServices"]
readonly "~type.make.in": S["~type.make.in"]
readonly "~type.make": S["Type"] & DistributeBrands<B>
readonly "Iso": S["Type"] & DistributeBrands<B>
readonly schema: S
readonly identifier: string
}
Since v3.10.0