Intersecting Two Schemas in Effect Typescript Library

Is there a way to intersect 2 schemas ?
E.g.
const A = Schema.Struct({ a: Schema.String })
const B = Schema.Struct({ b: Schema.String })
const C = Schema.Struct({ a: Schema.String, b: Schema.String })


Typically getting C from A and B. I understand why this is actually not that simple to provide as a feature (because of encoded/decoded schemas) which would explain why I did not find such capability but just wanted to be sure I didn't miss it
Was this page helpful?