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

x/netzo/deps/question/confirm.ts

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

Functions

Create a confirmation question that resolves to a true or false based on user input. It takes an undefined, true, or false value as the default value. Each of the default value types has an effect on how the prompt looks like.