CLOVIS
04/19/2025, 5:45 PMIntRange.size
… Am I missing something?hfhbd
04/19/2025, 8:50 PMsize
is often an Int
, like Collection.size
, and you can create IntRanges
with a bigger size:
(-1).rangeTo(Int.MAX_VALUE)
hho
04/22/2025, 12:01 PMIntRange
is Iterable
, you could use Iterable.count()
… but that is not very efficient/performant and returns an only an Int
as well…