How to access ZodUnion schemas #3848
-
Hi |
Beta Was this translation helpful? Give feedback.
Answered by
god-of-javascript
Nov 12, 2024
Replies: 1 comment
-
I found the answer, we can use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
god-of-javascript
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the answer, we can use
.options
to get list of possible options on an union.