method char.toUpper
The character in upper case.
Example:
fn main() io {
print("{'a'.toUpper()}")
}Output
A
The character in upper case.
Example:
fn main() io {
print("{'a'.toUpper()}")
}Output
A
pub(api) fn toUpper() -> charSince. 1.0.0-beta
Returns
char
Effects
none declared (pure unless the body says otherwise)
Defined in: std/core/text.oxl:937