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

x/froebel/range.ts>alphaRange

A strictly typed utility library.
Latest
function alphaRange
import { alphaRange } from "https://deno.land/x/froebel@v0.23.2/range.ts";

Constructs a range between characters.

Examples

Example 1

range('a', 'd')  // -> ['a', 'b', 'c', 'd']
range('Z', 'W')  // -> ['Z', 'Y', 'X', 'W']

Parameters

start: string
end: string