MCPcopy
hub / github.com/lutzroeder/netron / hasattr

Method hasattr

source/python.js:16502–16504  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

16500 return this._ivalue[name];
16501 }
16502 hasattr(name) {
16503 return this._typ.hasAttribute(name) || this._typ.hasConstant(name);
16504 }
16505 getattr(name) {
16506 return this.__getattr__(name);
16507 }

Callers 8

constructorMethod · 0.80
traceMethod · 0.80
map_aggregateMethod · 0.80
LEGACY_convertModuleMethod · 0.80
__setattr__Method · 0.80
__getattr__Method · 0.80
deserialize_nodeMethod · 0.80
deserialize_meta_funcMethod · 0.80

Calls 2

hasConstantMethod · 0.80
hasAttributeMethod · 0.45

Tested by

no test coverage detected