go/token.Position.IsValid (method, view implemented interface methods)
3 uses
go/token (current package)
position.go#L34: func (pos *Position) IsValid() bool { return pos.Line > 0 }
position.go#L46: if pos.IsValid() {
go/scanner
errors.go#L25: if e.Pos.Filename != "" || e.Pos.IsValid() {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)