( schema: S, options?: SchemaAST.ParseOptions )
| 484 | * @since 4.0.0 |
| 485 | */ |
| 486 | export function decodeUnknownResult<S extends Schema.ConstraintDecoder<unknown>>( |
| 487 | schema: S, |
| 488 | options?: SchemaAST.ParseOptions |
| 489 | ): (input: unknown, options?: SchemaAST.ParseOptions) => Result.Result<S["Type"], SchemaIssue.Issue> { |
| 490 | return asResult(decodeUnknownEffect(schema, options)) |
| 491 | } |
| 492 | |
| 493 | /** |
| 494 | * Creates a decoder for input already typed as the schema's `Encoded` type, |
nothing calls this directly
no test coverage detected