IsNull determines whether this object's instance is null.
()
| 225 | |
| 226 | // IsNull determines whether this object's instance is null. |
| 227 | func (ob *PyObject) IsNull() bool { |
| 228 | if ob == nil { |
| 229 | return true |
| 230 | } |
| 231 | return ob.rawptr == nil |
| 232 | } |
| 233 | |
| 234 | func (ob *PyObject) asRaw() *C.PyObject { |
| 235 | return ob.rawptr |
no outgoing calls