isChinese static method

bool isChinese(
  1. String c
)

判断某个字符是否为汉字 @return 是汉字返回true,否则返回false

Implementation

static bool isChinese(String c) {
  return '〇' == c || chineseRegexp.hasMatch(c);
}