Std.Char
29 public declarations
- equalsIgnoreCase
Char -> Char -> BoolWhether two characters are the same ignoring ASCII case.
- fromCode
Int -> Option[Char]The character with a given scalar value, or `None` when there is none.
- fromDigit
Int -> Option[Char]The digit character for a value from 0 to 9, or `None` for anything else.
- isAlphanumeric
Char -> BoolWhether a character is an ASCII letter or decimal digit.
- isAscii
Char -> BoolWhether a character is in the ASCII range at all.
- isAsciiLower
Char -> BoolWhether a character is a lower-case ASCII letter.
- isAsciiUpper
Char -> BoolWhether a character is an upper-case ASCII letter.
- isControl
Char -> BoolWhether a character is an ASCII control character.
- isDigit
Char -> BoolWhether a character is an ASCII decimal digit.
- isHexDigit
Char -> BoolWhether a character is an ASCII hexadecimal digit.
- isIdentifier
Char -> BoolWhether a character is one a program may use in an identifier: a letter, a
- isLatin1
Char -> BoolWhether a character is in the Latin-1 range.
- isLetter
Char -> BoolWhether a character is an ASCII letter.
- isLower
Char -> BoolWhether an ASCII letter is lower case. A non-letter is not.
- isNumber
Char -> BoolWhether a character is a decimal digit, which is the only kind of number
- isOctDigit
Char -> BoolWhether a character is an ASCII octal digit.
- isPrintable
Char -> BoolWhether a character is a printable ASCII character.
- isPunctuation
Char -> BoolWhether a character is an ASCII punctuation mark.
- isSeparator
Char -> BoolWhether a character is a space or a separator.
- isSymbol
Char -> BoolWhether a character is one of the ASCII symbols used in arithmetic and
- isUpper
Char -> BoolWhether an ASCII letter is upper case. A non-letter is not.
- isWhitespace
Char -> BoolWhether a character is a space, tab, carriage return, or newline.
- ord
Char -> IntA character's scalar value, named for what it is.
- toDigit
Char -> Option[Int]The decimal value of a digit, or `None` for anything else.
- toHexDigit
Char -> Option[Int]The value of a hexadecimal digit, or `None` for anything else.
- toLower
Char -> CharThe lower-case form of an ASCII letter; anything else is unchanged.
- toText
Char -> StrA character as text, named for what it is.
- toTitle
Char -> CharThe title-case form of a character, which for ASCII is its upper case.
- toUpper
Char -> CharThe upper-case form of an ASCII letter; anything else is unchanged.
