pub fn check_nonempty_string<T: AsRef<str>>(s: T, param: &str) -> Result<()>Expand description
Checks if the string s is not empty.
This function performs a basic check to ensure the string has at least one character.
Unlike check_valid_string, it does not validate ASCII characters or check for whitespace.
ยงErrors
Returns an error if s is empty.