(to: L2)
| 2602 | |
| 2603 | /** |
| 2604 | * Extracts the type-side schema: sets `Encoded` to equal the decoded `Type`, |
| 2605 | * discarding the encoding transformation path. |
| 2606 | * |
| 2607 | * @category transforming |
| 2608 | * @since 4.0.0 |
| 2609 | */ |
| 2610 | export const toType = Struct_.lambda<toTypeLambda>((schema) => make(SchemaAST.toType(schema.ast), { schema })) |
| 2611 | |
| 2612 | /** |
no test coverage detected
searching dependent graphs…