IsNil checks whether the underlying value is NIL
()
| 85 | |
| 86 | // IsNil checks whether the underlying value is NIL |
| 87 | func (v *Value) IsNil() bool { |
| 88 | // fmt.Printf("%+v\n", v.getResolvedValue().Type().String()) |
| 89 | return !v.getResolvedValue().IsValid() |
| 90 | } |
| 91 | |
| 92 | // String returns a string for the underlying value. If this value is not |
| 93 | // of type string, pongo2 tries to convert it. Currently the following |
no test coverage detected