MCPcopy Create free account
hub / github.com/echoVic/blade-code / hasComponent

Method hasComponent

src/agent/ComponentManager.ts:152–154  ·  view source on GitHub ↗

* 检查组件是否存在

(id: string)

Source from the content-addressed store, hash-verified

150 * 检查组件是否存在
151 */
152 public hasComponent(id: string): boolean {
153 return this.components.has(id);
154 }
155
156 /**
157 * 移除组件

Callers

nothing calls this directly

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected