Extract the State type from any supported schema type.
Supports:
The schema type to extract state from
Type to return if schema doesn't match (default: never)
Extract the State type from any supported schema type.
Supports: