Standard library / unicode
unicode.IsLetter()
Tests Unicode general category L. Expected stdout: 'true\n'.
Formal Syntax & Structure
go syntaxgo
func IsLetter(r rune) boolParameters & Attributes
| Name | Type | Description |
|---|---|---|
| r | rune | Unicode code point. |
Return Value
bool
Tests Unicode general category L.
Working Example
Example Snippetgo
package main
import ( "fmt" "unicode")
func main() { fmt.Println(unicode.IsLetter('س'))}