Newer
Older
pokemon-go-trade / vendor / github.com / go-pg / pg / internal / parser / util.go
Simon Lindgren on 12 Feb 2021 223 bytes first commit
package parser

func isNum(c byte) bool {
	return c >= '0' && c <= '9'
}

func isAlpha(c byte) bool {
	return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')
}

func isAlnum(c byte) bool {
	return isAlpha(c) || isNum(c)
}