Administrator
|
Hello,
I think you should use constrained datatypes. For example, has_integer_value.min(30,) should be written:
ConstrainedDatatype(int, min_inclusive = 30)
Constrained datatypes can be used as a class, e.g. in a some() or only() statement.
Best regards,
Jean-Baptiste Lamy
MCF, LIMICS, Université Paris 13
|