Zod · Method
.ulid
z.ulid() creates a Zod schema for validating ULID strings. Use .parse() to check an input and get the validated result.
Last updated
Syntax
z.ulid()In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
z.string()z.uuid()z.cuid()z.cuid2()z.nanoid()