(view: any)
| 2100 | } |
| 2101 | |
| 2102 | function accessibilityInfo(view: any): JSONObject { |
| 2103 | return { |
| 2104 | identifier: stringValue(read(view, "accessibilityIdentifier")), |
| 2105 | label: stringValue(read(view, "accessibilityLabel")), |
| 2106 | value: stringValue(read(view, "accessibilityValue")), |
| 2107 | hint: stringValue(read(view, "accessibilityHint")), |
| 2108 | traits: numberValue(read(view, "accessibilityTraits")), |
| 2109 | isElement: Boolean(read(view, "isAccessibilityElement")), |
| 2110 | }; |
| 2111 | } |
| 2112 | |
| 2113 | function textValue(view: any): string { |
| 2114 | if ( |
no test coverage detected