atLeast

fun <T : Comparable<T>> T.atLeast(min: T): T(source)

Returns this value or min, whichever is larger.