isZh static method

bool isZh(
  1. String input
)

Return whether input matches regex of Chinese character. 返回输入是否匹配汉字的正则表达式。

Implementation

static bool isZh(String input) {
  return '〇' == input || matches(RegexConstants.REGEX_ZH, input);
}