go-rfc2396/upalpha/byte.go

6 lines
87 B
Go

package upalpha
func ByteIs(value byte) bool {
return 'A' <= value && value <= 'Z'
}