mostlyUppercase method
Returns true if the analyzed text contains more uppercase than lowercase letters.
This method helps determine whether a string should be treated as primarily uppercase for casing normalization purposes.
Implementation
bool mostlyUppercase() {
return letters > 0 && uppercase > lowercase;
}