(element: Element)
| 22 | // threw ELEMENT_NOT_SELECTABLE there instead; this is the shape the bindings |
| 23 | // and Appium consume. |
| 24 | function isSelected(element: Element): boolean { |
| 25 | if (!isSelectable(element)) { |
| 26 | return false |
| 27 | } |
| 28 | return isSelectedState(element) |
| 29 | } |
| 30 | |
| 31 | export default isSelected |
nothing calls this directly
no test coverage detected