( ast: A, defaultValue: Effect.Effect<unknown, SchemaIssue.Issue> )
| 4569 | |
| 4570 | /** @internal */ |
| 4571 | export function withConstructorDefault<A extends AST>( |
| 4572 | ast: A, |
| 4573 | defaultValue: Effect.Effect<unknown, SchemaIssue.Issue> |
| 4574 | ): A { |
| 4575 | return updateContext(ast, undefined, undefined, defaultValue) |
| 4576 | } |
| 4577 | |
| 4578 | /** |
| 4579 | * Attaches a `Transformation` to the `to` AST, making it decode from the |
nothing calls this directly
no test coverage detected