You can use ranges to easily determine inclusion: fun inRange(target: Int) = target in 0..100. What's really neat is how the Kotlin compiler ...
確定! 回上一頁