Standard library / unicode

unicode.FoldCategory

Maps categories to additional code points outside the category that are equivalent under simple case folding to members. Not the full category itself. Expected stdout: 'true\n'.

Formal Syntax & Structure

go syntaxgo
var FoldCategory map[string]*RangeTable

Working Example

Example Snippetgo
package main
import (  "fmt"  "unicode")
func main() {  fmt.Println(unicode.Is(unicode.FoldCategory["Lu"], 'a'))}
Go Reference