macro_rules! yesno_prompt {
    () => { ... };
    ($($arg:tt)*) => { ... };
}
Expand description

Returns true if the user types ‘y’, ‘Y’, or “yes” to the prompt Returns false if the user types ‘n’, ‘N’, or “no” to the prompt repeats prompt until user enters a valid input