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

Method equals

source/python.js:10391–10393  ·  view source on GitHub ↗
(rhs)

Source from the content-addressed store, hash-verified

10389 return this._annotation_str;
10390 }
10391 equals(rhs) {
10392 return this.kind() === rhs.kind();
10393 }
10394 isSubtypeOf(rhs) {
10395 if (rhs.kind() === 'AnyType' || this === rhs) {
10396 return true;

Callers 3

constructorMethod · 0.45
isSubtypeOfMethod · 0.45
isMethod · 0.45

Calls 15

getValueTypeMethod · 0.80
compilation_unitMethod · 0.80
containedTypesMethod · 0.80
getElementTypeMethod · 0.80
getKeyTypeMethod · 0.80
isNoneMethod · 0.80
isBoolMethod · 0.80
toBoolMethod · 0.80
isIntMethod · 0.80
toIntMethod · 0.80
isDoubleMethod · 0.80
toDoubleMethod · 0.80

Tested by

no test coverage detected