Module

x/polkadot/types/bundle.ts>Vec

Package publishing for deno.land/x/polkadot
Latest
class Vec
extends AbstractArray<T>
import { Vec } from "https://dotland.deno.dev/x/polkadot@0.2.45/types/bundle.ts";

Constructors

new
Vec(
registry: Registry,
Type: CodecClass<T> | string,
value?: Uint8Array | HexString | unknown[],
unnamed 3?: DefinitionSetter<CodecClass<T>>,
)

Properties

readonly
Type: string

Methods

indexOf(other?: unknown): number
toRawType(): string

Static Methods

with<O extends Codec>(Type: CodecClass<O> | string): CodecClass<Vec<O>>
import Vec
import { Vec } from "https://dotland.deno.dev/x/polkadot@0.2.45/types/bundle.ts";