Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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/original_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.