File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -121,16 +121,22 @@ func ValidateDeviceName(name string) error {
121
121
}
122
122
123
123
// IsLetter reports whether the rune is a letter.
124
+ //
125
+ // Deprecated: This check is internal and should not be part of the public API.
124
126
func IsLetter (c rune ) bool {
125
127
return ('A' <= c && c <= 'Z' ) || ('a' <= c && c <= 'z' )
126
128
}
127
129
128
130
// IsDigit reports whether the rune is a digit.
131
+ //
132
+ // Deprecated: This check is internal and should not be part of the public API.
129
133
func IsDigit (c rune ) bool {
130
134
return '0' <= c && c <= '9'
131
135
}
132
136
133
137
// IsAlphaNumeric reports whether the rune is a letter or digit.
138
+ //
139
+ // Deprecated: This check is internal and should not be part of the public API.
134
140
func IsAlphaNumeric (c rune ) bool {
135
141
return IsLetter (c ) || IsDigit (c )
136
142
}
You can’t perform that action at this time.
0 commit comments