(encoding: Encoding, f: (ast: AST) => AST)
| 3126 | readonly annotations: Schema.Annotations.Filter | undefined |
| 3127 | |
| 3128 | constructor( |
| 3129 | checks: readonly [Check<E>, ...Array<Check<E>>], |
| 3130 | annotations: Schema.Annotations.Filter | undefined = undefined |
| 3131 | ) { |
| 3132 | super() |
| 3133 | this.checks = checks |
| 3134 | this.annotations = annotations |
| 3135 | } |
| 3136 | annotate(annotations: Schema.Annotations.Filter): FilterGroup<E> { |
| 3137 | return new FilterGroup(this.checks, { ...this.annotations, ...annotations }) |
| 3138 | } |
| 3139 | and(other: Check<E>, annotations?: Schema.Annotations.Filter): FilterGroup<E> |
no test coverage detected
searching dependent graphs…