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

x/polkadot/types/codec/index.ts>RangeInclusive

Package publishing for deno.land/x/polkadot
Go to Latest
class RangeInclusive
extends Range<T>
import { RangeInclusive } from "https://deno.land/x/polkadot@0.2.25/types/codec/index.ts";

Constructors

new
RangeInclusive(
registry: Registry,
Type: CodecClass<T> | string,
value?: AnyTuple,
)

Type Parameters

optional
T extends INumber = INumber

Static Methods

with<T extends INumber>(Type: CodecClass<T> | string): CodecClass<RangeInclusive<T>>