go-rfc2396/digit/byte.go

6 lines
85 B
Go
Raw Normal View History

2023-12-08 04:39:06 +00:00
package digit
func ByteIs(value byte) bool {
return '0' <= value && value <= '9'
}