isUpperCase method

bool isUpperCase()

Checkes if whole string is uppercase.

Implementation

bool isUpperCase() => toLowerCase() != this && toUpperCase() == this;