yn

Function yn 

Source
pub fn yn() -> StdQuestionBuilder<bool>
Expand description

Yes/No questions.

The default parser reads, after making lowercase, the following:

  • true: “true” or “t” or “yes” or “y”
  • false: “false” or “f” or “no” or “n”