(data: any)
| 757 | } |
| 758 | |
| 759 | export const isNodeSchema = (data: any): data is NodeSchema => { |
| 760 | if (!isObject(data)) { |
| 761 | return false |
| 762 | } |
| 763 | return 'componentName' in data && !data.isNode |
| 764 | } |
| 765 | |
| 766 | /** |
| 767 | * get the top node of the same zLevel |
no test coverage detected