IsNil reports whether the pointer is nil.
()
| 25 | |
| 26 | // IsNil reports whether the pointer is nil. |
| 27 | func (p Pointer) IsNil() bool { |
| 28 | return p.p == nil |
| 29 | } |
| 30 | |
| 31 | // Uintptr returns the pointer as a uintptr. |
| 32 | func (p Pointer) Uintptr() uintptr { |
no outgoing calls
no test coverage detected