Module

x/polkadot/types/types/index.ts>IOption

Package publishing for deno.land/x/polkadot
Go to Latest
interface IOption
implements Codec
import { type IOption } from "https://dotland.deno.dev/x/polkadot@0.2.24/types/types/index.ts";

Type Parameters

optional
T extends Codec = Codec

Properties

readonly
isNone: boolean
readonly
isSome: boolean
readonly
value: Codec

Methods

unwrap(): T
unwrapOr<O>(other: O): T | O
unwrapOrDefault(): T
import IOption
import { IOption } from "https://dotland.deno.dev/x/polkadot@0.2.24/types/types/index.ts";