Skip to contents

This function prompts the user with a yes/no question. If the user answers "yes" (case insensitive), the code proceeds. If the user answers "no" or anything else, the code stops.

Usage

ask_user(question)

Arguments

question

A string of the question to ask the user.

Value

None.