go-rfc2396/unreserved/byte.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 ByteIs(value byte) bool {
return alphanum.ByteIs(value) || mark.ByteIs(value)
}