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