( schema: S, options?: SchemaAST.ParseOptions )
| 840 | * @since 4.0.0 |
| 841 | */ |
| 842 | export function encodeUnknownResult<S extends Schema.ConstraintEncoder<unknown>>( |
| 843 | schema: S, |
| 844 | options?: SchemaAST.ParseOptions |
| 845 | ): (input: unknown, options?: SchemaAST.ParseOptions) => Result.Result<S["Encoded"], SchemaIssue.Issue> { |
| 846 | return asResult(encodeUnknownEffect(schema, options)) |
| 847 | } |
| 848 | |
| 849 | /** |
| 850 | * Creates an encoder for input already typed as the schema's decoded `Type`, |
nothing calls this directly
no test coverage detected