Replies: 1 comment 3 replies
-
Something like this? z.union([z.literal("A"), z.literal("B"), z.literal("C")]) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to have multiple possible literals somehow?
this is what I tried, didn't seem to work.
Beta Was this translation helpful? Give feedback.
All reactions