Method
check
(...checks: readonly [SchemaAST.Check<any>, ...Array<SchemaAST.Check<any>>])
Source from the content-addressed store, hash-verified
| 1031 | ) |
| 1032 | } |
| 1033 | check(...checks: readonly [SchemaAST.Check<any>, ...Array<SchemaAST.Check<any>>]): any { |
| 1034 | return make(compose(this.node, [new CheckNode(checks)])) |
| 1035 | } |
| 1036 | refine<B extends A>(refinement: (a: A) => a is B, annotations?: Schema.Annotations.Filter): any { |
| 1037 | return make(compose(this.node, [new CheckNode([SchemaAST.makeFilterByGuard(refinement, annotations)])])) |
| 1038 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected