Skip to main content

is_question_id

Function is_question_id 

Source
pub fn is_question_id(id: &str) -> bool
Expand description

Whether id is a valid question id: 1 to QUESTION_ID_MAX_LEN characters of [a-z0-9_-].