Skip to main content
Module

x/polkadot/mod.ts>typesCodec.OptionBool

Package publishing for deno.land/x/polkadot
Go to Latest
class typesCodec.OptionBool
extends Option<Bool>
import { typesCodec } from "https://deno.land/x/polkadot@0.2.12/mod.ts";
const { OptionBool } = typesCodec;

Constructors

new
OptionBool(registry: Registry, value?:
| AnyBool
| Uint8Array
| HexString
| null
)

Properties

readonly
encodedLength: number
readonly
isFalse: boolean
readonly
isTrue: boolean

Methods

inspect(): Inspect
toRawType(isBare?: boolean): string
toU8a(isBare?: boolean): Uint8Array