Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
How do you validate that a string field has a minimum length in Zod?
z.string().minLength(3)
z.string().gte(3)
z.string().hasLength(3)
z.string().min(3)
z.string().length(3)
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!