Standard library / unicode
unicode.FoldScript
Maps scripts to additional code points outside the script that are equivalent under simple case folding to members. Not a complete script table. Expected stdout: 'true true\n'.
Formal Syntax & Structure
go syntaxgo
var FoldScript map[string]*RangeTableWorking Example
Example Snippetgo
package main
import ( "fmt" "unicode")
func main() { t, ok := unicode.FoldScript["Greek"] fmt.Println(ok, t != nil)}