OxL Reference

method char.toUpper

The character in upper case.

Example:

oxl✓ checked in CI
fn main() io {
  print("{'a'.toUpper()}")
}
Output
A

The character in upper case.

Example:

oxl✓ checked in CI
fn main() io {
  print("{'a'.toUpper()}")
}
Output
A
pub(api) fn toUpper() -> char

Since. 1.0.0-beta

Returns

char

Effects

none declared (pure unless the body says otherwise)

Defined in: std/core/text.oxl:937

See also