Namespace
ArrayUtils
Generates an array of numbers in a given range.
The start value of the range
The end value of the range
An array of numbers in the specified range
const numbers = rangeArray(1, 5);console.log(numbers); // Output: [1, 2, 3, 4, 5] Copy
const numbers = rangeArray(1, 5);console.log(numbers); // Output: [1, 2, 3, 4, 5]
Generated using TypeDoc
ArrayUtils
Generates an array of numbers in a given range.