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

Function pushChecks

packages/effect/src/internal/schema/toCodeDocument.ts:108–115  ·  view source on GitHub ↗
(
      checks: ReadonlyArray<SchemaRepresentation.Check>
    )

Source from the content-addressed store, hash-verified

106 }
107
108 function pushChecks(
109 checks: ReadonlyArray<SchemaRepresentation.Check>
110 ): void {
111 for (const check of checks) {
112 pushRepresentationSchemas(check.representation)
113 if (check._tag === "FilterGroup") pushChecks(check.checks)
114 }
115 }
116
117 while (stack.length > 0) {
118 const representation = stack.pop()!

Callers 1

collectRefsFunction · 0.85

Calls 1

Tested by

no test coverage detected