GitHub

range

Range

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

import { range } from '@daffodil/core'
const range: (start: number, end: number) => number[]