Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.11/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>>