valiField$
Creates a validation functions that parses the Valibot schema of a field.
const validate = valiField$(schema);
Parameters
schema
MaybeFunction<
BaseSchema<
>FieldValue
,any
> | BaseSchemaAsync<FieldValue
,any
>
Return
validate
QRL<
(value:
>FieldValue
) =>string