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

Function flattened

packages/printer/src/internal/flatten.ts:67–73  ·  view source on GitHub ↗
(value: A)

Source from the content-addressed store, hash-verified

65
66/** @internal */
67export const flattened = <A>(value: A): Flatten.Flatten<A> =>
68 (() => {
69 const op = Object.create(proto)
70 op._tag = "Flattened"
71 op.value = value
72 return op
73 })()
74
75/** @internal */
76export const alreadyFlat: Flatten.Flatten<never> = (() => {

Callers 1

flatten.tsFile · 0.85

Calls 1

createMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…