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

Function isInputComponent

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

Source from the content-addressed store, hash-verified

122 * @returns 是否为输入组件类型
123 */
124export function isInputComponent(type: string): type is InputComponentType {
125 return (INPUT_COMPONENTS as readonly string[]).includes(type);
126}
127
128/**
129 * 创建占位符组件构造函数

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected