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

Function isContentComponent

ui/src/protocol/standard-components.ts:114–116  ·  view source on GitHub ↗
(type: string)

Source from the content-addressed store, hash-verified

112 * @returns 是否为内容组件类型
113 */
114export function isContentComponent(type: string): type is ContentComponentType {
115 return (CONTENT_COMPONENTS as readonly string[]).includes(type);
116}
117
118/**
119 * 判断是否为输入组件类型

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected