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

Function toJSON

packages/effect/src/MutableHashSet.ts:100–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

toJsonFunction · 0.90

Tested by

no test coverage detected