@tempots/std
generateSequenceArray() function
Generates an array of numbers in a specified range.
Signature:
generateSequenceArray: (length: number, startAt?: number) => number[]
Parameters
Parameter |
Type |
Description |
---|---|---|
length |
number |
The length of the array to generate. |
startAt |
number |
(Optional) The starting value of the range. Default is 0. |
Returns: number[]
An array of numbers in the specified range.