Skip to main content

is_language_code

Function is_language_code 

Source
pub fn is_language_code(input: &str) -> bool
Expand description

Returns true when the input is a simple 2-letter or 3-letter language subtag.