Module

x/polkadot/types-codec/native/Bool.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.38/types-codec/native/Bool.ts";

Constructors

new
bool(registry: Registry, value?:
| bool
| 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
toHuman(): boolean
toJSON(): boolean
toPrimitive(): boolean
toRawType(): string
toString(): string
toU8a(_isBare?: boolean): Uint8Array