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

Function isStandardComponent

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

Source from the content-addressed store, hash-verified

92 * @returns 是否为标准组件类型
93 */
94export function isStandardComponent(type: string): type is StandardComponentType {
95 return (STANDARD_COMPONENTS as readonly string[]).includes(type);
96}
97
98/**
99 * 判断是否为布局组件类型

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected