4 stable releases
1.0.3 | Aug 2, 2021 |
---|---|
1.0.2 | Jul 23, 2021 |
#11 in #whether
4KB
is_chinese
detect whether a string is all Chinese
example
use is_chinese;
assert!(is_chinese::is_chinese("中国"));
assert!(!is_chinese::is_chinese("ss"));
license
MIT
lib.rs
:
is_chinese
detect whether a string is all Chinese
example
use is_chinese;
assert!(is_chinese::is_chinese("中国"));
assert!(!is_chinese::is_chinese("ss"));