Skip to main content
Module

x/polkadot/mod.ts>types.Vec

Package publishing for deno.land/x/polkadot
Go to Latest
class types.Vec
extends AbstractArray<T>
Re-export
import { types } from "https://deno.land/x/polkadot@0.2.37/mod.ts";
const { Vec } = types;

Constructors

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

Type Parameters

T extends Codec

Properties

readonly
Type: string

Methods

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

Static Methods

with<O extends Codec>(Type: CodecClass<O> | string): CodecClass<Vec<O>>