Exists returns true if value exists. if gjson.Get(json, "name.last").Exists(){ println("value exists") }
()
| 656 | // println("value exists") |
| 657 | // } |
| 658 | func (t Result) Exists() bool { |
| 659 | return t.Type != Null || len(t.Raw) != 0 |
| 660 | } |
| 661 | |
| 662 | // Value returns one of these types: |
| 663 | // |
no outgoing calls