Skip to main content
Module

x/polkadot/mod.ts>types.RangeInclusive

Package publishing for deno.land/x/polkadot
Go to Latest
class types.RangeInclusive
extends Range<T>
Re-export
import { types } from "https://deno.land/x/polkadot@0.2.12/mod.ts";
const { RangeInclusive } = types;

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>>