Skip to main content
Module

x/froebel/types.ts>IntRange

A strictly typed utility library.
Go to Latest
type alias IntRange
import { type IntRange } from "https://deno.land/x/froebel@v0.22.0/types.ts";

Create a union containing the integers 0..T

Type Parameters

T extends number
definition: IsNegative<T> extends true ? never : ConstructIntRange<T extends `${"0"}${infer R}` ? R : T>