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

x/rambda/immutable.d.ts>range

Faster and smaller alternative to Ramda
Latest
function range
import { range } from "https://deno.land/x/rambda@9.4.1/immutable.d.ts";

It returns list of numbers between startInclusive to endExclusive markers.

Parameters

startInclusive: number
endExclusive: number

Returns

readonly number[]

Parameters

startInclusive: number

Returns

(endExclusive: number) => readonly number[]