(frame: JSONObject | null)
| 1727 | } |
| 1728 | |
| 1729 | function hasUsableFrame(frame: JSONObject | null): boolean { |
| 1730 | return rectNumber(frame, "width") > 1 && rectNumber(frame, "height") > 1; |
| 1731 | } |
| 1732 | |
| 1733 | function rectKey(frame: JSONObject): string { |
| 1734 | return ["x", "y", "width", "height"] |
no test coverage detected