go-rfc2396/digit/rune.go

6 lines
85 B
Go

package digit
func RuneIs(value rune) bool {
return '0' <= value && value <= '9'
}