( schema: S, options?: SchemaAST.ParseOptions )
| 415 | |
| 416 | /** @internal */ |
| 417 | export function decodeUnknownOption<S extends Schema.ConstraintDecoder<unknown>>( |
| 418 | schema: S, |
| 419 | options?: SchemaAST.ParseOptions |
| 420 | ): (input: unknown, options?: SchemaAST.ParseOptions) => Option.Option<S["Type"]> { |
| 421 | return asOption(decodeUnknownEffect(schema, options)) |
| 422 | } |
| 423 | |
| 424 | /** @internal */ |
| 425 | export const decodeOption: <S extends Schema.ConstraintDecoder<unknown>>( |
no test coverage detected