(instance: TestInstance | null)
| 36 | * @param instance The instance to check. |
| 37 | */ |
| 38 | export function isHostSwitch(instance: TestInstance | null) { |
| 39 | return typeof instance?.type === 'string' && HOST_SWITCH_NAMES.includes(instance.type); |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Checks if the given element is a host ScrollView element. |
no outgoing calls
no test coverage detected
searching dependent graphs…