isAlpha function

bool isAlpha(
  1. String str
)

Returns true if str contains only ASCII alphabetic characters (a–z, A–Z).

Implementation

bool isAlpha(String str) => alphaReg.hasMatch(str);