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

Function isStructuralCheck

packages/effect/src/SchemaAST.ts:3653–3656  ·  view source on GitHub ↗
(check: Check<any>)

Source from the content-addressed store, hash-verified

3651}
3652
3653function isStructuralCheck(check: Check<any>): boolean {
3654 return check.annotations?.[InternalAnnotations.STRUCTURAL_ANNOTATION_KEY] === true ||
3655 check._tag === "FilterGroup" && check.checks.every(isStructuralCheck)
3656}
3657
3658function extractStructuralChecks(checks: Checks): Checks | undefined {
3659 function extract(check: Check<any>): Array<Check<any>> {

Callers 1

extractFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected