headless_lms_utils::strings

Function is_ietf_language_code_like

Source
pub fn is_ietf_language_code_like(string: &str) -> bool
Expand description

Checks whether the string is IETF language code where subtags are separated with underscore.