go-rfc2396/unreserved/rune.go

11 lines
210 B
Go
Raw Normal View History

2023-12-08 04:32:30 +00:00
package unreserved
import (
"sourcecode.social/reiver/go-rfc2396/alphanum"
"sourcecode.social/reiver/go-rfc2396/mark"
)
func RuneIs(value rune) bool {
return alphanum.RuneIs(value) || mark.RuneIs(value)
}