MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / IsNull

Method IsNull

pkg/filament/cpython/object.go:227–232  ·  view source on GitHub ↗

IsNull determines whether this object's instance is null.

()

Source from the content-addressed store, hash-verified

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

Callers 11

FetchErrFunction · 0.95
NewFunction · 0.80
CloseMethod · 0.80
newEventDictFunction · 0.80
initializeIPFnAndClassesFunction · 0.80
TestDictFunction · 0.80
GetSliceMethod · 0.80
NewPyObjectFromValueFunction · 0.80
CallableArgCountMethod · 0.80
TestModuleRegisterFnFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestDictFunction · 0.64
TestModuleRegisterFnFunction · 0.64