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 @@ -104,16 +104,22 @@ func ValidateDeviceName(name string) error {
104
104
}
105
105
106
106
// IsLetter reports whether the rune is a letter.
107
+ //
108
+ // Deprecated: This check is internal and should not be part of the public API.
107
109
func IsLetter (c rune ) bool {
108
110
return ('A' <= c && c <= 'Z' ) || ('a' <= c && c <= 'z' )
109
111
}
110
112
111
113
// IsDigit reports whether the rune is a digit.
114
+ //
115
+ // Deprecated: This check is internal and should not be part of the public API.
112
116
func IsDigit (c rune ) bool {
113
117
return '0' <= c && c <= '9'
114
118
}
115
119
116
120
// IsAlphaNumeric reports whether the rune is a letter or digit.
121
+ //
122
+ // Deprecated: This check is internal and should not be part of the public API.
117
123
func IsAlphaNumeric (c rune ) bool {
118
124
return IsLetter (c ) || IsDigit (c )
119
125
}
You can’t perform that action at this time.
0 commit comments