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

x/polkadot/types-codec/extended/index.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.11/types-codec/extended/index.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>>