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

Function toJSON

packages/effect/src/TxHashSet.ts:38–43  ·  view source on GitHub ↗
(this: TxHashSet<unknown>)

Source from the content-addressed store, hash-verified

36 return `TxHashSet(${format(toJson((this).ref))})`
37 },
38 toJSON(this: TxHashSet<unknown>) {
39 return {
40 _id: "TxHashSet",
41 ref: toJson((this).ref)
42 }
43 },
44 pipe(this: TxHashSet<unknown>) {
45 return pipeArguments(this, arguments)
46 }

Callers

nothing calls this directly

Calls 1

toJsonFunction · 0.90

Tested by

no test coverage detected