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

Function makeBoth

packages/cli/src/internal/args.ts:702–708  ·  view source on GitHub ↗
(left: Args.Args<A>, right: Args.Args<B>)

Source from the content-addressed store, hash-verified

700}
701
702const makeBoth = <A, B>(left: Args.Args<A>, right: Args.Args<B>): Args.Args<[A, B]> => {
703 const op = Object.create(proto)
704 op._tag = "Both"
705 op.left = left
706 op.right = right
707 return op
708}
709
710const makeWithDefault = <A, const B>(
711 self: Args.Args<A>,

Callers 3

allFunction · 0.70
allTupledFunction · 0.70
withDescriptionInternalFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected