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

Function toJSON

packages/effect/src/internal/hashSet.ts:39–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 return `HashSet(${format(Array.from(this))})`
38 },
39 toJSON() {
40 return {
41 _id: "HashSet",
42 values: toJson(Array.from(this))
43 }
44 },
45 [NodeInspectSymbol]() {
46 return this.toJSON()
47 },

Callers

nothing calls this directly

Calls 1

toJsonFunction · 0.90

Tested by

no test coverage detected