Kotlin – Ranges

Kotlin ranges is defined by its two endpoint values which are both included in the range. Kotlin ranges are created with rangeTo() function, or simply using downTo or (. .) operators. The main operation on ranges is contains, which…

Continue ReadingKotlin – Ranges