max

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