Skip to content

Instantly share code, notes, and snippets.

import UIKit
//"USA", return true
//"Calvin", return true
//"compUter", return false
//"coding", return true
func isUppercase(character: Character) -> Bool {
String(character) == character.uppercased()
}