max

fun <T : String?, V : Validators<T>> V.max(value: Int, message: (String) -> String = { "$label should have less than $value character(s), but has ${it.length} character(s) instead" }): V
val <T : String?> Validator<T>.max: Int?