Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cotton/src/utils/number.ts>range

SQL Database Toolkit for Deno
Latest
function range
import { range } from "https://deno.land/x/cotton@v0.7.5/src/utils/number.ts";

Create an array between two numbers

Parameters

start: number

first number

end: number

last number

Returns

number[]