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

x/polkadot/types-codec/mod.ts>Range

Package publishing for deno.land/x/polkadot
Go to Latest
class Range
extends Tuple
import { Range } from "https://deno.land/x/polkadot@0.2.28/types-codec/mod.ts";

Constructors

new
Range(
registry: Registry,
Type: CodecClass<T> | string,
value?: AnyTuple,
unnamed 3?: Options,
)

Type Parameters

T extends INumber

Properties

readonly
end: T
readonly
start: T

Static Methods

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