valiForm
Creates a validation functions that parses the Valibot schema of a form.
const validate = valiForm(schema);
Parameters
schemaBaseSchema<FieldValues,any> | BaseSchemaAsync<FieldValues,any>
Return
validate(values:PartialValues<) =>FieldValues>FormErrors