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