( schema: S, options?: SchemaAST.ParseOptions )
| 800 | * @since 4.0.0 |
| 801 | */ |
| 802 | export function encodeUnknownResult<S extends Schema.ConstraintEncoder<unknown>>( |
| 803 | schema: S, |
| 804 | options?: SchemaAST.ParseOptions |
| 805 | ): (input: unknown, options?: SchemaAST.ParseOptions) => Result.Result<S["Encoded"], SchemaIssue.Issue> { |
| 806 | return asResult(encodeUnknownEffect(schema, options)) |
| 807 | } |
| 808 | |
| 809 | /** |
| 810 | * Creates an encoder for input already typed as the schema's decoded `Type`, |
nothing calls this directly
no test coverage detected