Function check_str

Source
pub const fn check_str(string: &str) -> Result<(), Empty>
Expand description

Checks whether the given string is non-empty.

ยงErrors

Returns Empty if the string is empty.