A utility function that generates an array of numbers within a specified range.

  • Parameters

    • start: number

      The starting number of the range.

    • end: number

      The ending number of the range.

    Returns number[]

    An array of numbers within the specified range.