Char
Allows storing character as one byte.
obj Char {
byte: byte
isDigit: bool
isLetter: bool
isLetterOrDigit: bool
isLower: bool
isUpper: bool
isWhitespace: bool
lower: char
upper: char
}
byte - Byte representation of character.
isDigit - Whether character is digit.
isLetter - Whether character is letter.
isLetterOrDigit - Whether character is letter or digit.
isLower - Whether character is in lowercase.
isUpper - Whether character is in uppercase.
isWhitespace - Whether character is whitespace.
lower - Lowercase representation of character.
upper - Uppercase representation of character.
Char.repeat()
Repeats character specific number of times.
fn Char.repeat (times: int) str
times - Number of times to repeat.
Char.str()
Returns a string representation.
fn Char.str () str