(view: any)
| 2077 | } |
| 2078 | |
| 2079 | function frameInScreen(view: any): JSONObject | null { |
| 2080 | return safeCall( |
| 2081 | () => rectValue(view.convertRectToView(read(view, "bounds"), null)), |
| 2082 | rectValue(read(view, "frame")), |
| 2083 | ); |
| 2084 | } |
| 2085 | |
| 2086 | function colorValue(color: any): JSONObject | null { |
| 2087 | if (!color) { |
no test coverage detected