Skip to main content
Module

x/polkadot/mod.ts>types.BTreeSet

Package publishing for deno.land/x/polkadot
Go to Latest
class types.BTreeSet
implements ISet<V>
extends Set<V>
Re-export
import { types } from "https://deno.land/x/polkadot@0.2.33/mod.ts";
const { BTreeSet } = types;

Constructors

new
BTreeSet(
registry: Registry,
valType: CodecClass<V> | string,
rawValue?:
| Uint8Array
| string
| string[]
| Set<any>
,
)

Type Parameters

optional
V extends Codec = Codec

Properties

optional
createdAtHash: IU8a
readonly
encodedLength: number
readonly
hash: IU8a
optional
initialU8aLength: number
readonly
isEmpty: boolean
optional
isStorageFallback: boolean
readonly
registry: Registry
readonly
strings: string[]

Methods

eq(other?: unknown): boolean
inspect(): Inspect
toHex(): HexString
toHuman(isExtended?: boolean): AnyJson
toJSON(): AnyJson
toPrimitive(): AnyJson
toRawType(): string
toString(): string
toU8a(isBare?: boolean): Uint8Array

Static Methods

with<V extends Codec>(valType: CodecClass<V> | string): CodecClass<BTreeSet<V>>