Validator function for the "min" constraint.