Zod Compare Playground
Schema A
z.object({ name: z.string(), age: z.number() })
Schema B
z.object({ name: z.string(), age: z.string() })
Compare
isSameType:
-
isCompatibleType:
-