func github.com/gotd/td/tgerr.IsCode

2 uses

	github.com/gotd/td/tgerr (current package)
		error.go#L147: func IsCode(err error, code ...int) bool {

	github.com/gotd/td/telegram/auth
		auth.go#L19: 	return tgerr.IsCode(err, 401)