Return c converted to uppercase
This function returns the character, converting it to uppercase if it is lowercase. The function is defined only for low-ASCII characters.
assert( to_upper( 'a' ) == 'A' );
Throws nothing.
Name | Description |
---|---|
c | The character to convert |