notEmptyRangeOf

@ExperimentalSinceKotoolsTypes(version = "4.2")
fun <T : Comparable<T>> notEmptyRangeOf(bounds: NotEmptyRange.BuilderScope<T>.() -> Pair<Bound<T>, Bound<T>>): NotEmptyRange<T>

Returns a not empty range with the given pair of bounds. The resulting range will start with the lowest value between the given bounds.