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