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

Function Union

packages/effect/src/Schema.ts:5031–5036  ·  view source on GitHub ↗
(
  members: Members,
  options?: SchemaAST.UnionOptions
)

Source from the content-addressed store, hash-verified

5029 * @since 3.10.0
5030 */
5031export function Union<const Members extends ReadonlyArray<Constraint>>(
5032 members: Members,
5033 options?: SchemaAST.UnionOptions
5034): Union<Members> {
5035 return makeUnion(SchemaAST.union(members, options, undefined), members)
5036}
5037/**
5038 * Type-level representation returned by {@link Literals}.
5039 *

Callers 11

ArrayEnsureFunction · 0.70
mapMembersFunction · 0.70
transformFunction · 0.70
Schema.tsFile · 0.70
TaggedUnionFunction · 0.70
CauseReasonFunction · 0.70
timeZoneArbitrarySchemaFunction · 0.70
ExitFunction · 0.70
graphToArbitraryFunction · 0.70
OptionFunction · 0.70
ResultFunction · 0.70

Calls 1

makeUnionFunction · 0.70

Tested by

no test coverage detected