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

Method toJSON

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

Source from the content-addressed store, hash-verified

241 return pipeArguments(this, arguments)
242 }
243 toJSON() {
244 return {
245 _id: "Exit",
246 _tag: this._op,
247 value: toJSON(this.value)
248 }
249 }
250 toString() {
251 return format(this.toJSON())
252 }

Callers 2

toStringMethod · 0.95
[NodeInspectSymbol]Method · 0.95

Calls 1

toJSONFunction · 0.70

Tested by

no test coverage detected