Standard library / unicode

unicode.Properties

Maps supported Unicode binary property names to range tables. Check presence and do not mutate the shared data. Expected stdout: 'true true\n'.

Formal Syntax & Structure

go syntaxgo
var Properties map[string]*RangeTable

Working Example

Example Snippetgo
package main
import (  "fmt"  "unicode")
func main() {  t, ok := unicode.Properties["White_Space"]  fmt.Println(ok, unicode.Is(t, '\t'))}
Go Reference