containsUppercase

fun containsUppercase(description: String = "Password must contain at least one uppercase character"): PasswordRule(source)

Creates a PasswordRule that checks whether the password contains at least one uppercase character.