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

Method toCodecStringTree

packages/effect/src/SchemaAST.ts:1438–1443  ·  view source on GitHub ↗

@internal

()

Source from the content-addressed store, hash-verified

1436 }
1437 /** @internal */
1438 toCodecStringTree(): AST {
1439 if (this.toCodecJson() === this) {
1440 return replaceEncoding(this, [finiteToString])
1441 }
1442 return replaceEncoding(this, [numberToString])
1443 }
1444 /** @internal */
1445 getExpected(): string {
1446 return "number"

Callers

nothing calls this directly

Calls 2

toCodecJsonMethod · 0.95
replaceEncodingFunction · 0.85

Tested by

no test coverage detected