Interface returns the value as an interface.
()
| 172 | |
| 173 | // Interface returns the value as an interface. |
| 174 | func (v *Value) Interface() any { |
| 175 | if v.IsNull() { |
| 176 | return nil |
| 177 | } |
| 178 | return v.value.Interface() |
| 179 | } |
| 180 | |
| 181 | // Kind returns the reflect kind of the value. |
| 182 | func (v *Value) Kind() reflect.Kind { |