char
char: isAlpha, isDigit, isWhitespace, toUpper, toLower, compare, print, hash
struct char: Comparable, Printable, Hashable
A single character.
isAlpha
bool isAlpha()Returns true if this is a letter.
isDigit
bool isDigit()Returns true if this is a digit.
isWhitespace
bool isWhitespace()Returns true if this is whitespace.
toUpper
char toUpper()Returns the uppercase version of this character (ASCII only; other characters are returned unchanged).
toLower
char toLower()Returns the lowercase version of this character (ASCII only; other characters are returned unchanged).
compare
Ordering compare(char& other)Compares this value to another.
void print(OutputStream& stream)Writes this value to the given stream.
hash
uint64 hash()Returns the hash of this value.