Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Agelessbaby/BloomBlog
/ IsASCIIUpper
Function
IsASCIIUpper
util/string/string.go:9–11 ·
view source on GitHub ↗
是否为大写英文字母
(c byte)
Source
from the content-addressed store, hash-verified
7
8
// 是否为大写英文字母
9
func
IsASCIIUpper(c byte) bool {
10
return
'A'
<= c && c <=
'Z'
11
}
12
13
// 大小写英文字母互相转换
14
func
UpperLowerExchange(c byte) byte {
Callers
1
Camel2Snake
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected