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

x/polkadot/types-codec/extended/index.ts>OptionBool

Package publishing for deno.land/x/polkadot
Go to Latest
class OptionBool
extends Option<Bool>
import { OptionBool } from "https://deno.land/x/polkadot@0.2.17/types-codec/extended/index.ts";

Constructors

new
OptionBool(registry: Registry, value?:
| Option<Bool>
| 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