Package: effect
Module: Brand
A utility type to extract the brands from a branded type.
Signature
type Brands<P> = P extends Brand<any> ? Types.UnionToIntersection<
{
[k in keyof P[BrandTypeId]]: k extends string | symbol ? Brand<k>
: never
}[keyof P[BrandTypeId]]
>
: never
Since v2.0.0