fixed exists check

This commit is contained in:
Josh Baker 2016-08-12 08:51:56 -07:00
parent 725f3caa55
commit a93ef25a70
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func (t Result) String() string {
// println("value exists") // println("value exists")
// } // }
func (t Result) Exists() bool { func (t Result) Exists() bool {
return t.Type != Null && len(t.Raw) != 0 return t.Type != Null || len(t.Raw) != 0
} }
// Value returns one of these types: // Value returns one of these types: