IsTime checks whether the underlying value is a time.Time.
()
| 79 | |
| 80 | // IsTime checks whether the underlying value is a time.Time. |
| 81 | func (v *Value) IsTime() bool { |
| 82 | _, ok := v.Interface().(time.Time) |
| 83 | return ok |
| 84 | } |
| 85 | |
| 86 | // IsNil checks whether the underlying value is NIL |
| 87 | func (v *Value) IsNil() bool { |
no test coverage detected