Skip to main content
Module

x/polkadot/types-codec/mod.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.40/types-codec/mod.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>>