Function jay_lib::fns::fn_str::check_zh

source ·
pub fn check_zh(s: String) -> bool
Expand description

Check the string has Chinese. Example:

     use jay_lib::fns::fn_str;
     assert_eq!(false,fn_str::check_zh("".to_string()));
     assert_eq!(true,fn_str::check_zh("中".to_string()));
     assert_eq!(true,fn_str::check_zh("go 中".to_string()));
     assert_eq!(true,fn_str::check_zh("裏".to_string()));