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

Function toJSON

packages/effect/src/TxHashMap.ts:36–41  ·  view source on GitHub ↗
(this: TxHashMap<unknown, unknown>)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

toJsonFunction · 0.90

Tested by

no test coverage detected