()
| 35 | } |
| 36 | |
| 37 | func (v *Value) getResolvedValue() reflect.Value { |
| 38 | if v.val.IsValid() && v.val.Kind() == reflect.Ptr { |
| 39 | return v.val.Elem() |
| 40 | } |
| 41 | return v.val |
| 42 | } |
| 43 | |
| 44 | // IsString checks whether the underlying value is a string |
| 45 | func (v *Value) IsString() bool { |