union
Overview
Use md.union([...]) when a value can match one of multiple schemas.
Basic Usage
Use md.union([...]) to accept more than one valid shape for the same field, then keep the output typed after validation.
Method Index
Type-specific methods
Shared auxiliaries
- No shared auxiliaries linked.