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

Method toString

packages/effect/src/SchemaAST.ts:1098–1103  ·  view source on GitHub ↗

* @since 3.10.0

()

Source from the content-addressed store, hash-verified

1096 * @since 3.10.0
1097 */
1098 toString() {
1099 return Option.getOrElse(
1100 getExpected(this),
1101 () => `<enum ${this.enums.length} value(s): ${this.enums.map(([_, value]) => JSON.stringify(value)).join(" | ")}>`
1102 )
1103 }
1104 /**
1105 * @since 3.10.0
1106 */

Callers

nothing calls this directly

Calls 3

getExpectedFunction · 0.85
joinMethod · 0.65
mapMethod · 0.65

Tested by

no test coverage detected