UNPKG

contains-chinese

Version:

Checks whether the input string contains any Chinese text (at least one character). Works with Traditional and Simplified. Unlike the is-chinese package, returns `true` even if the string contains mixed Chinese and non-Chinese characters.

6 files
6 B
1.24 kB
1.12 kB
1.11 kB
1.07 kB
247 B