Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/capi/mod.ts>$.ScaleSet

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

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>