A function to ask a yes/no question and return TRUE/FALSE
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?")
}