Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/proc/tools/deps/cliffy.ts>BooleanType

A better way to work with processes in Deno.
Go to Latest
class BooleanType
extends Type<boolean>
import { BooleanType } from "https://deno.land/x/proc@0.21.8/tools/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.