Skip to main content
Log in

Mojo function

isupper

isupper(c: SIMD[uint8, 1]) -> Bool

Determines whether the given character is an uppercase character.

This currently only respects the default "C" locale, i.e. returns True iff the character specified is one of "ABCDEFGHIJKLMNOPQRSTUVWXYZ".

Args:

  • c (SIMD[uint8, 1]): The character to check.

Returns:

True if the character is uppercase.