(frame: JSONObject | null | undefined, key: string)
| 1737 | } |
| 1738 | |
| 1739 | function rectNumber(frame: JSONObject | null | undefined, key: string): number { |
| 1740 | const value = frame?.[key]; |
| 1741 | return typeof value === "number" && Number.isFinite(value) ? value : 0; |
| 1742 | } |
| 1743 | |
| 1744 | function fallbackTabBarFrame(): JSONObject { |
| 1745 | const screen = rectValue(UIScreen.mainScreen.bounds) ?? { |
no outgoing calls
no test coverage detected