Skip to main content

opt_string

Function opt_string 

Source
pub fn opt_string(text: &GString) -> Option<String>
Expand description

Convert a non-empty trimmed string to Some, otherwise None.