( schema: S, options?: SchemaAST.ParseOptions )
| 454 | * @since 4.0.0 |
| 455 | */ |
| 456 | export function decodeUnknownResult<S extends Schema.ConstraintDecoder<unknown>>( |
| 457 | schema: S, |
| 458 | options?: SchemaAST.ParseOptions |
| 459 | ): (input: unknown, options?: SchemaAST.ParseOptions) => Result.Result<S["Type"], SchemaIssue.Issue> { |
| 460 | return asResult(decodeUnknownEffect(schema, options)) |
| 461 | } |
| 462 | |
| 463 | /** |
| 464 | * Creates a decoder for input already typed as the schema's `Encoded` type, |
nothing calls this directly
no test coverage detected