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

Method toJSON

packages/effect/src/internal/core.ts:143–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141 return pipeArguments(this, arguments)
142 }
143 toJSON() {
144 return {
145 _id: "Effect",
146 _op: this._op,
147 effect_instruction_i0: toJSON(this.effect_instruction_i0),
148 effect_instruction_i1: toJSON(this.effect_instruction_i1),
149 effect_instruction_i2: toJSON(this.effect_instruction_i2)
150 }
151 }
152 toString() {
153 return format(this.toJSON())
154 }

Callers 2

toStringMethod · 0.95
[NodeInspectSymbol]Method · 0.95

Calls 1

toJSONFunction · 0.70

Tested by

no test coverage detected