Zod · Method
.cuid
z.cuid() creates a Zod schema that validates CUID identifiers. Use it with Zod parsing methods to check input.
Last updated
Syntax
z.cuid()In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
z.string()z.cuid2()z.nanoid()z.ulid()z.uuid()safeParseparse