isUpperCase method

bool isUpperCase(
  1. String ch
)

Implementation

bool isUpperCase(String ch) {
  return ch.codeUnitAt(0) >= 'A'.codeUnitAt(0) &&
      ch.codeUnitAt(0) <= 'Z'.codeUnitAt(0);
}