core-ktx / androidx.util / kotlin.ranges.ClosedRange / toRange

toRange

fun <T : Comparable<T>> ClosedRange<T>.toRange(): Range<T>

Returns this ClosedRange as a Range.