isEnglishLetter static method

bool isEnglishLetter(
  1. String ch
)

Implementation

static bool isEnglishLetter(String ch) {
  if ((ch.charCode >= 0x0041 && ch.charCode <= 0x005A) || (ch.charCode >= 0x0061 && ch.charCode <= 0x007A)) {
    return true;
  }
  return false;
}