Skip to contents

A function to ask a yes/no question and return Y/N [Stable]

Usage

askyn_letter(question, default = TRUE)

Arguments

question

input Yes / No question

default

Optionally set the default response value

Value

Y/y or N/n

Examples

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