Comparable values
For certain types you can't make comparisons out of the box in Python but Validation brings support to a few of them.
You can make comparison with the following data types:
- Countable: any object that has attribute
__len__ datetimeobjects- String which can be converted to
datetimebased on ISO format - Integer types (
int,float,bool) - Single character string
- If string is digit, then it will be treated as integer
- String with more than one character comparable by length
Below you can see some examples: