go-rfc2396/alphanum/rune.go

11 lines
204 B
Go
Raw Normal View History

2023-12-08 00:24:34 +00:00
package alphanum
import (
"sourcecode.social/reiver/go-rfc2396/alpha"
"sourcecode.social/reiver/go-rfc2396/digit"
)
func RuneIs(value rune) bool {
return alpha.RuneIs(value) || digit.RuneIs(value)
}