atMost

fun <T : Comparable<*>> atMost(endpoint: T): Range<T>

Creates a Range of the form (-∞, endpoint].