Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
class Cliffy.BooleanType
extends Type<boolean>
Re-export
import { Cliffy } from "https://deno.land/x/dmm@v2.1.2/tests/integration/up-to-date-deps/deps.ts";
const { BooleanType } = Cliffy;

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

Methods

complete(): string[]

Complete boolean type.

parse(type: ITypeInfo): boolean

Parse boolean type.