MCPcopy
hub / github.com/redis/go-redis / isLower

Function isLower

internal/util.go:65–73  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

63}
64
65func isLower(s string) bool {
66 for i := 0; i < len(s); i++ {
67 c := s[i]
68 if c >= 'A' && c <= 'Z' {
69 return false
70 }
71 }
72 return true
73}
74
75func ReplaceSpaces(s string) string {
76 return strings.ReplaceAll(s, " ", "-")

Callers 2

TestIsLowerFunction · 0.85
ToLowerFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsLowerFunction · 0.68