MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / isSymbol

Function isSymbol

utils/contentfilter/contentfilter.go:124–126  ·  view source on GitHub ↗
(char rune)

Source from the content-addressed store, hash-verified

122 return result.String()
123}
124func isSymbol(char rune) bool {
125 return !unicode.IsLetter(char) && !unicode.IsNumber(char) && (char < 0x2E80 || char > 0x9FFF)
126}
127
128type TrieNode struct {
129 isKeywordEnd bool

Callers 1

FilterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected