Is it possible to get a true or false value from an inquirer? Like if the user takes yes as an answer it gives me a true if no it gives false and not include that question in computing for an answer.
import inquirer
breakfast = [
inquirer.List('breakfast',
message="Do you take breakfast?",
choices=['Yes', 'No'],
),
]
answers = inquirer.prompt(breakfast)
You can easily convert the user's input from "Yes" or "No" to a Boolean (True or False).