MCPcopy Index your code
hub / github.com/lutzroeder/netron / hasConstant

Method hasConstant

source/python.js:10592–10594  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

10590 this._constants.set(name, value);
10591 }
10592 hasConstant(name) {
10593 return this._constants.has(name);
10594 }
10595 getProperty(name) {
10596 for (const prop of this._properties) {
10597 if (name === prop.name) {

Callers 1

hasattrMethod · 0.80

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected