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

Function toJSON

packages/effect/src/MutableHashMap.ts:99–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97 return `MutableHashMap(${format(Array.from(this))})`
98 },
99 toJSON() {
100 return {
101 _id: "MutableHashMap",
102 values: toJson(Array.from(this))
103 }
104 },
105 [NodeInspectSymbol]() {
106 return this.toJSON()
107 },

Callers

nothing calls this directly

Calls 1

toJsonFunction · 0.90

Tested by

no test coverage detected