Documentation ¶
Index ¶
- Variables
- func IsASCII(s rune) bool
- func IsASCIIDigit(r rune) bool
- func IsASCIILower(r rune) bool
- func IsASCIIUpper(r rune) bool
- func IsConsonant(s rune) bool
- func IsLatin1(s rune) bool
- func IsVowel(s rune) bool
- func SpecialCaseBuilder(toUpper, toLower, toTitle func(r rune) rune, points ...rune) unicode.SpecialCase
Constants ¶
This section is empty.
Variables ¶
View Source
var ConsonantCase = func(toUpper, toLower, toTitle func(r rune) rune) unicode.SpecialCase { return SpecialCaseBuilder(toUpper, toLower, toTitle, Consonants...) }
View Source
var Consonants = []rune{
'B', 'C', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'V', 'W', 'X', 'Y', 'Z',
'b', 'c', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'm', 'n', 'p', 'q', 'r', 's', 't', 'v', 'w', 'x', 'y', 'z',
}
View Source
var VowelCase = func(toUpper, toLower, toTitle func(r rune) rune) unicode.SpecialCase { return SpecialCaseBuilder(toUpper, toLower, toTitle, Vowels...) }
View Source
var Vowels = []rune{
'A', 'E', 'I', 'O', 'U',
'a', 'e', 'i', 'o', 'u',
}
Functions ¶
func IsASCIIDigit ¶
IsASCIIDigit reports whether the rune is an ASCII and decimal digit.
func IsASCIILower ¶
IsASCIILower reports whether the rune is an ASCII and lower case letter.
func IsASCIIUpper ¶
IsASCIIUpper reports whether the rune is an ASCII and upper case letter.
func IsConsonant ¶
IsConsonant reports whether the rune is an ASCII and consonant case letter.
func SpecialCaseBuilder ¶
func SpecialCaseBuilder(toUpper, toLower, toTitle func(r rune) rune, points ...rune) unicode.SpecialCase
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.