Skip to contents

A function to ask a yes/no question and return TRUE/FALSE [Stable]

Usage

ask(question, default = TRUE)

Arguments

question

input Yes / No question

default

Optionally set the default response value

Value

boolean response from Yes / No

Examples

if (FALSE) {
ask("Do you like coding?")
}