( schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions )
| 650 | * @since 3.10.0 |
| 651 | */ |
| 652 | export const validate = <A, I, R>( |
| 653 | schema: Schema.Schema<A, I, R>, |
| 654 | options?: AST.ParseOptions |
| 655 | ): (a: unknown, overrideOptions?: AST.ParseOptions) => Effect.Effect<A, ParseIssue, R> => |
| 656 | getEffect(AST.typeAST(schema.ast), true, options) |
| 657 | |
| 658 | /** |
| 659 | * By default the option `exact` is set to `true`. |
no test coverage detected