pub fn check<S: AsRef<str>>(string: S) -> Result<(), Empty>
Similar to check_str, but is generic over the input type.
check_str
Returns Empty if the input is empty.
Empty