containsSpecialCharacter

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

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