isFirstLetter static method

bool isFirstLetter(
  1. String string
)

Implementation

static bool isFirstLetter(String string) {
  if (string.codeUnitAt(0) >= 0 && string.codeUnitAt(0) <= 9) {
    return true;
  }
  return false;
}