MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / isValidComponent

Method isValidComponent

packages/core/src/document/node/node.ts:554–560  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

552 }
553
554 isValidComponent() {
555 const allComponents = this.document.designer.materials.componentsMap
556 if (allComponents && allComponents[this.componentName]) {
557 return true
558 }
559 return false
560 }
561
562 get isRemote() {
563 return this.isRemoteComponent()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected