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

x/netzo/deps/question/confirm.ts>ConfirmOptions

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
interface ConfirmOptions
import { type ConfirmOptions } from "https://deno.land/x/netzo@0.5.70/deps/question/confirm.ts";

Properties

optional
defaultValue: boolean

The default or preferred action. Not specifying it indicates no preference and a boolean of true is positive and a boolean of false is negative.

optional
positiveText: string

The text that indicates a positive response. Default is 'Yes'

optional
negativeText: string

The text that indicates a negative response. Default is 'No'