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

Method toJSON

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

Source from the content-addressed store, hash-verified

192 return pipeArguments(this, arguments)
193 }
194 toJSON() {
195 return {
196 _id: "Exit",
197 _tag: this._op,
198 cause: (this.cause as any).toJSON()
199 }
200 }
201 toString() {
202 return format(this.toJSON())
203 }

Callers 2

toStringMethod · 0.95
[NodeInspectSymbol]Method · 0.95

Calls 1

toJSONMethod · 0.65

Tested by

no test coverage detected