( ...checks: readonly [SchemaAST.Check<S["Type"]>, ...Array<SchemaAST.Check<S["Type"]>>] )
| 5120 | * @since 4.0.0 |
| 5121 | */ |
| 5122 | export function check<S extends Top>( |
| 5123 | ...checks: readonly [SchemaAST.Check<S["Type"]>, ...Array<SchemaAST.Check<S["Type"]>>] |
| 5124 | ) { |
| 5125 | return (self: S): S["Rebuild"] => self.check(...checks) |
| 5126 | } |
| 5127 | |
| 5128 | /** |
| 5129 | * Type-level representation returned by {@link refine}. |