Method
check
(...checks: readonly [SchemaAST.Check<any>, ...Array<SchemaAST.Check<any>>])
Source from the content-addressed store, hash-verified
| 1016 | ) |
| 1017 | } |
| 1018 | check(...checks: readonly [SchemaAST.Check<any>, ...Array<SchemaAST.Check<any>>]): any { |
| 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 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected