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

x/polkadot/types-codec/abstract/Array.ts>AbstractArray

Package publishing for deno.land/x/polkadot
Go to Latest
class AbstractArray
implements IVec<T>
extends Array<T>
Abstract
import { AbstractArray } from "https://deno.land/x/polkadot@0.2.28/types-codec/abstract/Array.ts";

Constructors

new
protected
AbstractArray(registry: Registry, length: number)

Properties

optional
createdAtHash: IU8a
readonly
encodedLength: number
readonly
hash: IU8a
optional
initialU8aLength: number
readonly
isEmpty: boolean
optional
isStorageFallback: boolean
readonly
length: number
readonly
registry: Registry

Methods

eq(other?: unknown): boolean
toArray(): T[]
toHuman(isExtended?: boolean): AnyJson
abstract
toRawType(): string
toString(): string
toU8a(isBare?: boolean): Uint8Array
toU8aInner(isBare?: boolean): Uint8Array[]

Static Properties

readonly
[Symbol.species]: Array