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.

2 lines (1 loc) 6 B
.vs/