Interrogating schemas
Say I have an instance of
I've worked my way through the docs and can't see any way of doing this, can anyone offer some pointers as to where I should be looking?
Schema<unknown>. I'd like to "interrogate" it to discover if it encodes a literal, a string, a record, a union, etc. Or if it's nullable, or optional.I've worked my way through the docs and can't see any way of doing this, can anyone offer some pointers as to where I should be looking?
