MCPcopy Index your code
hub / github.com/Effect-TS/effect / toJSON

Function toJSON

packages/effect/src/internal/trie.ts:57–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 return format(this.toJSON())
56 },
57 toJSON() {
58 return {
59 _id: "Trie",
60 values: Array.from(this).map(toJSON)
61 }
62 },
63 [NodeInspectSymbol]() {
64 return this.toJSON()
65 },

Callers 3

toJSONMethod · 0.70
toJSONMethod · 0.70
toJSONMethod · 0.70

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected