MCPcopy Create free account
hub / github.com/astercloud/aster / has

Method has

ui/src/protocol/registry.ts:133–135  ·  view source on GitHub ↗

* 检查组件是否已注册 * * @param typeName - 组件类型名称 * @returns 是否已注册

(typeName: string)

Source from the content-addressed store, hash-verified

131 * @returns 是否已注册
132 */
133 has(typeName: string): boolean {
134 return this.components.has(typeName);
135 }
136
137 /**
138 * 冻结注册表

Callers 15

memoizeFunction · 0.80
processSurfaceUpdateMethod · 0.80
processBeginRenderingMethod · 0.80
hasSurfaceMethod · 0.80
rebuildComponentTreeMethod · 0.80
buildComponentNodeMethod · 0.80
buildTemplateInstanceMethod · 0.80
registerMethod · 0.80
useMessageListFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected