[skip e2e] Add comment for isNumber (#13653)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/13628/merge
Jiquan Long 2021-12-17 21:52:46 +08:00 committed by GitHub
parent b8d3808052
commit b0baff2249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ func isAlpha(c uint8) bool {
return true
}
// isNumber check if c is a number.
func isNumber(c uint8) bool {
if c < '0' || c > '9' {
return false