Skip to main content
Module

x/capi/deps/scale.ts>ScaleSet

[WIP] A framework for crafting interactions with Substrate chains
Latest
class ScaleSet
implements Set<T>
import { ScaleSet } from "https://deno.land/x/capi@v0.1.1-beta.1/deps/scale.ts";

Constructors

new
ScaleSet($value: Codec<T, unknown>, values?: Iterable<T>)

Properties

readonly
size
readonly
[Symbol.toStringTag]

Methods

add(value: T): this
clear(): void
delete(value: T): boolean
entries(): IterableIterator<[T, T]>
forEach(callbackfn: (
value: T,
value2: T,
set: Set<T>,
) => void
, thisArg?: any
): void
has(key: T): boolean
keys(): IterableIterator<T>
values(): IterableIterator<T>
[Symbol.iterator](): IterableIterator<T>