Function check

Source
pub fn check<S: AsRef<str>>(string: S) -> Result<(), Empty>
Expand description

Similar to check_str, but is generic over the input type.

ยงErrors

Returns Empty if the input is empty.