( schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions )
| 618 | * @since 3.10.0 |
| 619 | */ |
| 620 | export const validateOption = <A, I, R>( |
| 621 | schema: Schema.Schema<A, I, R>, |
| 622 | options?: AST.ParseOptions |
| 623 | ): (u: unknown, overrideOptions?: AST.ParseOptions) => Option.Option<A> => |
| 624 | getOption(AST.typeAST(schema.ast), true, options) |
| 625 | |
| 626 | /** |
| 627 | * @category validation |
nothing calls this directly
no test coverage detected