( schema: S, options?: SchemaAST.ParseOptions )
| 444 | |
| 445 | /** @internal */ |
| 446 | export function decodeUnknownOption<S extends Schema.ConstraintDecoder<unknown>>( |
| 447 | schema: S, |
| 448 | options?: SchemaAST.ParseOptions |
| 449 | ): (input: unknown, options?: SchemaAST.ParseOptions) => Option.Option<S["Type"]> { |
| 450 | return asOption(decodeUnknownEffect(schema, options)) |
| 451 | } |
| 452 | |
| 453 | /** @internal */ |
| 454 | export const decodeOption: <S extends Schema.ConstraintDecoder<unknown>>( |
no test coverage detected