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(regexZh, input);
}