Module

x/polkadot/types/bundle.ts>Bool

Package publishing for deno.land/x/polkadot
Go to Latest
class Bool
implements Codec
extends Boolean
import { Bool } from "https://dotland.deno.dev/x/polkadot@0.2.35/types/bundle.ts";

Constructors

new
Bool(registry: Registry, value?:
| bool
| AnyBool
| Uint8Array
| number
)

Properties

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

Methods

eq(other?: unknown): boolean
inspect(): Inspect
toHex(): HexString
toHuman(): boolean
toJSON(): boolean
toPrimitive(): boolean
toRawType(): string
toString(): string
toU8a(_isBare?: boolean): Uint8Array