HomeManualTopicsTypesSymbols

std::is_an_uppercase_letter

checks wheter its argument is an uppercase letter

Parameter

chr
the character to check

Result

success
true if the argument is an uppercase letter

Description

This function must be called on character-values only.

Example

if is_an_uppercase_letter('T'): println! "T is an uppercase letter" : println! "T is not an uppercase letter"

Output

T is an uppercase letter

Example

if is_an_uppercase_letter('t'): println! "t is an uppercase letter" : println! "t is not an uppercase letter"

Output

t is not an uppercase letter

Topic

Strings

See also

std::is_a_letter checks wheter its argument is a letter (upper or lower case)
std::is_a_lowercase_letter checks wheter its argument is a lowercase letter
std::is_a_letter_character returns for letter characters
std::is_a_digit checks wheter its argument is a digit