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