(type: string | undefined)
| 245 | } |
| 246 | |
| 247 | function isViewportNode(type: string | undefined): boolean { |
| 248 | if (!type) return false; |
| 249 | const normalized = type.toLowerCase(); |
| 250 | return normalized.includes('application') || normalized.includes('window'); |
| 251 | } |
| 252 | |
| 253 | function isValidRect(rect: Rect | undefined): rect is Rect { |
| 254 | return !!rect && rect.width > 0 && rect.height > 0; |
no outgoing calls
no test coverage detected
searching dependent graphs…