The main tool here is the Zod schema matcher. There is also the inspector, but it’s mainly used as a component of the matcher.
The matcher emulates pattern matching, something found in other languages
A handy wrapper around a zod
schema node.
import { zodInspector }