telnetroulette/util.go
2024-06-08 11:52:12 +02:00

15 lines
153 B
Go

package main
import (
"unicode"
)
func isInt(s string) bool {
for _, c := range s {
if !unicode.IsDigit(c) {
return false
}
}
return true
}