isAlphabetOnly static method

bool isAlphabetOnly(
  1. String s
)

检查字符串是否只包含字母。(没有空格)

Implementation

static bool isAlphabetOnly(String s) =>
    RegexUtils.hasMatch(s, RegexConstants.alphabetOnly);