(point: any)
| 2028 | } |
| 2029 | |
| 2030 | function pointValue(point: any): JSONObject | null { |
| 2031 | if (!point) { |
| 2032 | return null; |
| 2033 | } |
| 2034 | const x = finiteNumber(point.x); |
| 2035 | const y = finiteNumber(point.y); |
| 2036 | if (x == null || y == null) { |
| 2037 | return null; |
| 2038 | } |
| 2039 | return { |
| 2040 | x, |
| 2041 | y, |
| 2042 | }; |
| 2043 | } |
| 2044 | |
| 2045 | function sizeValue(size: any): JSONObject | null { |
| 2046 | if (!size) { |
no test coverage detected