MCPcopy
hub / github.com/Effect-TS/effect / makeBoth

Function makeBoth

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

Source from the content-addressed store, hash-verified

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

Used in the wild real call sites across dependent graphs

searching dependent graphs…