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

Function isLayoutComponent

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

Source from the content-addressed store, hash-verified

102 * @returns 是否为布局组件类型
103 */
104export function isLayoutComponent(type: string): type is LayoutComponentType {
105 return (LAYOUT_COMPONENTS as readonly string[]).includes(type);
106}
107
108/**
109 * 判断是否为内容组件类型

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected