Kotlin Ranges with When expression

Read Time < 1 minute It’s not been long since I have started using Kotlin but more I use it more I fall in love with it. Most recent thing I have used is┬áRanges. Range expressions are formed with rangeTo functions that have the operator form .. which is complemented by in and !in. [kotlinlang] For example we can use …

Kotlin Ranges with When expression Read More »