Range

constructor(lower: Int, upper: Int)


constructor()

Constructs an empty range with lower and upper both zero.


constructor(range: Range)

Constructs a range with the lower bound and upper bound of a specified range.

Parameters

range

the range specifying the values