confirm

Function confirm 

Source
pub fn confirm(
    question: &str,
    default_answer: Option<Confirmation>,
    cancel_code: u8,
) -> bool