MCPcopy Create free account
hub / github.com/Effect-TS/effect / UnionUnify

Function UnionUnify

packages/platform/src/HttpApiSchema.ts:253–257  ·  view source on GitHub ↗
(self: A, that: B)

Source from the content-addressed store, hash-verified

251 * @since 1.0.0
252 */
253export const UnionUnify = <A extends Schema.Schema.All, B extends Schema.Schema.All>(self: A, that: B): Schema.Schema<
254 A["Type"] | B["Type"],
255 A["Encoded"] | B["Encoded"],
256 A["Context"] | B["Context"]
257> => Schema.make(UnionUnifyAST(self.ast, that.ast))
258
259type Void$ = typeof Schema.Void
260

Callers

nothing calls this directly

Calls 2

UnionUnifyASTFunction · 0.85
makeMethod · 0.65

Tested by

no test coverage detected