Documentation
¶
Overview ¶
Package character exposes JVM-faithful java.lang.Character equivalents for code running on glojure. Glojure's character literal `\a` parses to lang.Char (a rune wrapper); the coercion helpers here unwrap both Char and plain ints so callers can pass either form.
Index ¶
- Constants
- Variables
- func Compare(x, y any) int32
- func Digit(args ...any) any
- func ForDigit(args ...any) any
- func GetNumericValue(x any) int32
- func IsAlphabetic(x any) bool
- func IsDigit(x any) bool
- func IsLetter(x any) bool
- func IsLetterOrDigit(x any) bool
- func IsLowerCase(x any) bool
- func IsSpaceChar(x any) bool
- func IsUpperCase(x any) bool
- func IsWhitespace(x any) bool
- func ToLowerCase(x any) lang.Char
- func ToString(x any) string
- func ToUpperCase(x any) lang.Char
- func ValueOf(x any) lang.Char
Constants ¶
View Source
const ( MIN_RADIX = jchar.MIN_RADIX MAX_RADIX = jchar.MAX_RADIX )
Variables ¶
Functions ¶
func GetNumericValue ¶
func IsAlphabetic ¶
func IsLetterOrDigit ¶
func IsLowerCase ¶
func IsSpaceChar ¶
func IsUpperCase ¶
func IsWhitespace ¶
func ToLowerCase ¶
func ToUpperCase ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.