Is there a way to initialize an array in Kotlin in this way with a range and mixed numbers.
intArrayOf(4, 10, 3, 20..24)
The contents of the array should be [4, 10, 3, 20, 21, 22, 23, 24]
Is there a way to initialize an array in Kotlin in this way with a range and mixed numbers.
intArrayOf(4, 10, 3, 20..24)
The contents of the array should be [4, 10, 3, 20, 21, 22, 23, 24]