isUpperCase static method

bool isUpperCase(
  1. dynamic v
)

returns true if v is all upper case characters

Implementation

static bool isUpperCase(dynamic v)
{
  if (v is String && v == v.toUpperCase()) return true;
  else return false;
}