( schema: S, options?: SchemaAST.ParseOptions )
| 867 | * @since 3.10.0 |
| 868 | */ |
| 869 | export function encodeUnknownSync<S extends Schema.ConstraintEncoder<unknown>>( |
| 870 | schema: S, |
| 871 | options?: SchemaAST.ParseOptions |
| 872 | ): (input: unknown, options?: SchemaAST.ParseOptions) => S["Encoded"] { |
| 873 | return asSync(encodeUnknownEffect(schema, options)) |
| 874 | } |
| 875 | |
| 876 | /** |
| 877 | * Creates a synchronous encoder for input already typed as the schema's decoded |
nothing calls this directly
no test coverage detected