(schema: S)
| 105 | * @since 4.0.0 |
| 106 | */ |
| 107 | export function make<S extends Schema.Constraint>(schema: S) { |
| 108 | return makeConstructorSync<S["Type"], S["~type.make.in"]>(SchemaAST.toType(schema.ast)) |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * Creates a type guard that checks whether an input satisfies the schema's decoded |
no test coverage detected