This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use z.union() and z.discriminatedUnion() to validate data that can be one of several shapes.
You've completed the free preview. Subscribe to unlock every lesson in every course.