Validate that the length is within the specified range.
B lengthRange(int min, int max, {String? message}) { return length([isInRange(min, max)], message: message); }