suou.validators
Miscellaneous validator closures.
Functions
|
Return a function which returns True if X is shorter than length and matches the given regex. |
|
Raise TypeError if the requested object is not of the desired type(s), with a nice message. |
Return a function that returns True if X is not greater than (i.e. lesser than or equal to) the given value. |
|
Return a function that returns True if X is not less than (i.e. greater than or equal to) the given value. |
|
|
Returns False if x.lower() is in '0', '', 'no', 'n', 'false' or 'off'. |