GitHub

range

import { range } from '@daffodil/core'

Range

Range accepts two inputs, a start and an end and returns an array filled with numbers from start to end.

const range: (start: number, end: number) => number[]