Kind of the value.
Checks whether the value is valid for this type.
Returns a description of the accepted values, e.g., an integer or one of: json, yaml.
Returns the choices joined by | for a choice type, otherwise the given name.
Creates a value type from its name.
Type of the value accepted by an option or an argument.