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

Function toJSON

packages/effect/src/internal/core.ts:70–72  ·  view source on GitHub ↗
(this: any)

Source from the content-addressed store, hash-verified

68 return pipeArguments(this, arguments)
69 },
70 toJSON(this: any) {
71 return { ...this }
72 },
73 toString() {
74 return format(this.toJSON(), { ignoreToString: true, space: 2 })
75 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected