pub fn opt_string(text: &GString) -> Option<String>
Convert a non-empty trimmed string to Some, otherwise None.
Some
None