MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / isMainComponentType

Function isMainComponentType

src/controller/factory.js:136–142  ·  view source on GitHub ↗
(type, controller)

Source from the content-addressed store, hash-verified

134}
135
136export function isMainComponentType(type, controller) {
137 for (const entry of repo.entries()) {
138 if (entry[0] === type && entry[1].contrConstructor === controller.constructor) {
139 return true;
140 }
141 }
142}

Callers 1

addPortMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected