Skip to main content
Deno 2 is finally 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.20.43/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.