isUppercase
A Boolean value indicating whether this character is considered uppercase.
Declaration
var isUppercase: Bool { get }Discussion
Uppercase characters vary under case-conversion to lowercase, but not when converted to uppercase. The following characters are all uppercase:
“É” (U+0045 LATIN CAPITAL LETTER E, U+0301 COMBINING ACUTE ACCENT)
“И” (U+0418 CYRILLIC CAPITAL LETTER I)
“Π” (U+03A0 GREEK CAPITAL LETTER PI)