character

package
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: EPL-1.0 Imports: 5 Imported by: 0

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

View Source
const (
	MIN_RADIX = jchar.MIN_RADIX
	MAX_RADIX = jchar.MAX_RADIX
)

Variables

View Source
var (
	MIN_VALUE = lang.Char(jchar.MIN_VALUE)
	MAX_VALUE = lang.Char(jchar.MAX_VALUE)
)

Functions

func Compare

func Compare(x, y any) int32

func Digit

func Digit(args ...any) any

func ForDigit

func ForDigit(args ...any) any

func GetNumericValue

func GetNumericValue(x any) int32

func IsAlphabetic

func IsAlphabetic(x any) bool

func IsDigit

func IsDigit(x any) bool

func IsLetter

func IsLetter(x any) bool

func IsLetterOrDigit

func IsLetterOrDigit(x any) bool

func IsLowerCase

func IsLowerCase(x any) bool

func IsSpaceChar

func IsSpaceChar(x any) bool

func IsUpperCase

func IsUpperCase(x any) bool

func IsWhitespace

func IsWhitespace(x any) bool

func ToLowerCase

func ToLowerCase(x any) lang.Char

func ToString

func ToString(x any) string

func ToUpperCase

func ToUpperCase(x any) lang.Char

func ValueOf

func ValueOf(x any) lang.Char

ValueOf returns its char argument unchanged (as lang.Char so the value keeps its glojure-visible Character identity, matching the (Character. c) constructor sugar).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL