isLowercase function

bool isLowercase(
  1. String str
)

check if the string str is lowercase

Implementation

bool isLowercase(String str) {
  return str == str.toLowerCase();
}