MCPcopy Index your code
hub / github.com/Effect-TS/effect / right

Function right

packages/effect/src/internal/either.ts:86–90  ·  view source on GitHub ↗
(right: R)

Source from the content-addressed store, hash-verified

84
85/** @internal */
86export const right = <R>(right: R): Either.Either<R> => {
87 const a = Object.create(RightProto)
88 a.right = right
89 return a
90}
91
92/** @internal */
93export const getLeft = <R, L>(

Callers 9

either.tsFile · 0.70
eitherArbitraryFunction · 0.50
eitherPrettyFunction · 0.50
Either.tsFile · 0.50
getEquivalenceFunction · 0.50
allFunction · 0.50
flipFunction · 0.50
genFunction · 0.50
transposeOptionFunction · 0.50

Calls 1

createMethod · 0.80

Tested by

no test coverage detected