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

Function toJSON

packages/effect/src/TxChunk.ts:83–88  ·  view source on GitHub ↗
(this: TxChunk<unknown>)

Source from the content-addressed store, hash-verified

81 return `TxChunk(${format(toJson((this).ref))})`
82 },
83 toJSON(this: TxChunk<unknown>) {
84 return {
85 _id: "TxChunk",
86 ref: toJson((this).ref)
87 }
88 },
89 pipe(this: TxChunk<unknown>) {
90 return pipeArguments(this, arguments)
91 }

Callers

nothing calls this directly

Calls 1

toJsonFunction · 0.90

Tested by

no test coverage detected