(refinement: (a: A) => a is B, annotations?: Schema.Annotations.Filter)
| 1019 | return make(compose(this.node, [new CheckNode(checks)])) |
| 1020 | } |
| 1021 | refine<B extends A>(refinement: (a: A) => a is B, annotations?: Schema.Annotations.Filter): any { |
| 1022 | return make(compose(this.node, [new CheckNode([SchemaAST.makeFilterByGuard(refinement, annotations)])])) |
| 1023 | } |
| 1024 | tag(tag: string): any { |
| 1025 | const err = Result.fail(new SchemaIssue.InvalidValue({ expected: `${JSON.stringify(tag)} tag` })) |
| 1026 | return make( |
no test coverage detected