Validate that the length is at most the specified maximum.
B lengthMax(int max, {String? message}) => length([isLte(max)], message: message);