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

Function toJSON

packages/effect/src/Redacted.ts:204–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202 label: undefined,
203 ...PipeInspectableProto,
204 toJSON() {
205 return this.toString()
206 },
207 toString() {
208 return `<redacted${isString(this.label) ? ":" + this.label : ""}>`
209 },

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected