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

x/ayonli_jsext/number/index.ts>sequence

A JavaScript extension package for building strong and modern applications.
Latest
function sequence
Deprecated
Deprecated

use range and serial instead.

import { sequence } from "https://deno.land/x/ayonli_jsext@v0.9.72/number/index.ts";

Creates a generator that produces sequential numbers from min to max (inclusive).

Parameters

min: number
max: number
optional
step = [UNSUPPORTED]
optional
loop = [UNSUPPORTED]

Returns

Generator<number, void, unknown>