fun <T : Comparable<T>> Range<T>.toClosedRange(): ClosedRange<T>
Returns this Range as a ClosedRange.