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