Validating a string can be done with a regex. That's easy.
const myString = z.string().regex(/A string/);
But what about other data types?
I guess the following could work for number, but it doesn't seem idiomatic.
const myNumber = z.number().gte(7).lte(7);
Is there a better way?