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