Skip to main content

language_input_validation_message

Function language_input_validation_message 

Source
pub fn language_input_validation_message(value: &str) -> Option<&'static str>
Expand description

Validate a free-text language string before it reaches the launch settings payload. Returns a message when the value is out of range, otherwise None for “looks fine”.