October 2018
Intermediate to advanced
370 pages
9h 15m
English
The rangeTo function is equivalent to the two-dot operator:
val myRange1 = 1..10val myRange2 = 1.rangeTo(10)println(myRange2)
The rangeTo function creates a range of integers up to a specified value.
Read now
Unlock full access