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