isTel static method

bool isTel(
  1. String input
)

Return whether input matches regex of telephone number. 判断返回输入是否匹配电话号码的正则表达式

Implementation

static bool isTel(String input) {
  return matches(RegexConstants.REGEX_TEL, input);
}