Skip to main content
Module

x/capi/deps/cliffy.ts>BooleanType

[WIP] A framework for crafting interactions with Substrate chains
Latest
class BooleanType
extends Type<boolean>
Re-export
import { BooleanType } from "https://deno.land/x/capi@v0.1.1-beta.1/deps/cliffy.ts";

Boolean type with auto completion. Allows true, false, 0 and 1.

Methods

complete(): string[]

Complete boolean type.

parse(type: ArgumentValue): boolean

Parse boolean type.