The variants in the Validation structure.
This API is still experimental, so it may change or be removed in future versions. You should not rely on it for production applications.
Array Variant
The variants in the Validation structure.
Constructs a Validation whose value represents a failure.
Constructs a Validation whose value represents a success.
values(variants)