Skip to main content
Module

x/netzo/deno.d.ts>confirm

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
function confirm
import { confirm } from "https://deno.land/x/netzo@v0.1.15/deno.d.ts";

Shows the given message and waits for the answer. Returns the user's answer as boolean.

Only y and Y are considered as true.

If the stdin is not interactive, it returns false.

Parameters

optional
message: string

Returns

boolean