go-rfc2396/upalpha/rune.go

6 lines
87 B
Go

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