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

Method should_subtract

source/python.js:10902–10902  ·  view source on GitHub ↗
(lhs)

Source from the content-addressed store, hash-verified

10900 subtractTypeSetFrom(to_subtract, from) {
10901 const types = [];
10902 const should_subtract = (lhs) => to_subtract.some((rhs) => lhs.isSubtypeOf(rhs));
10903 for (const t of from) {
10904 if (!should_subtract(t)) {
10905 types.push(t);

Callers

nothing calls this directly

Calls 1

isSubtypeOfMethod · 0.80

Tested by

no test coverage detected