Skip to main content

is_affirmative

Function is_affirmative 

Source
pub fn is_affirmative(s: &str) -> bool
Expand description

Whether s is y/yes (case-insensitive). Default is NO — anything else, including empty input / EOF, is declined.