MCPcopy
hub / github.com/Effect-TS/effect / toJSON

Function toJSON

packages/effect/src/Chunk.ts:132–137  ·  view source on GitHub ↗
(this: Chunk<A>)

Source from the content-addressed store, hash-verified

130 return format(this.toJSON())
131 },
132 toJSON<A>(this: Chunk<A>) {
133 return {
134 _id: "Chunk",
135 values: toReadonlyArray(this).map(toJSON)
136 }
137 },
138 [NodeInspectSymbol]<A>(this: Chunk<A>) {
139 return this.toJSON()
140 },

Callers

nothing calls this directly

Calls 2

toReadonlyArrayFunction · 0.85
mapMethod · 0.65

Tested by

no test coverage detected