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

Function left

packages/effect/src/internal/either.ts:79–83  ·  view source on GitHub ↗
(left: L)

Source from the content-addressed store, hash-verified

77
78/** @internal */
79export const left = <L>(left: L): Either.Either<never, L> => {
80 const a = Object.create(LeftProto)
81 a.left = left
82 return a
83}
84
85/** @internal */
86export const right = <R>(right: R): Either.Either<R> => {

Callers 6

either.tsFile · 0.70
eitherArbitraryFunction · 0.50
eitherPrettyFunction · 0.50
Either.tsFile · 0.50
getEquivalenceFunction · 0.50
flipFunction · 0.50

Calls 1

createMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…