pub fn normalize_answer(answer: &str, kind: QuestionType) -> StringExpand description
Normalize a user’s answer based on the question type.
For boolean questions, converts natural language (yes/no/y/n) to “true”/“false”.
pub fn normalize_answer(answer: &str, kind: QuestionType) -> StringNormalize a user’s answer based on the question type.
For boolean questions, converts natural language (yes/no/y/n) to “true”/“false”.