MCPcopy Index your code
hub / github.com/callstack/react-native-testing-library / isTouchResponder

Function isTouchResponder

src/fire-event.ts:21–23  ·  view source on GitHub ↗
(instance: TestInstance)

Source from the content-addressed store, hash-verified

19import type { Point, StringWithAutocomplete } from './types';
20
21function isTouchResponder(instance: TestInstance) {
22 return Boolean(instance.props.onStartShouldSetResponder) || isHostTextInput(instance);
23}
24
25/**
26 * List of events affected by `pointerEvents` prop.

Callers 1

findEventHandlerFunction · 0.85

Calls 1

isHostTextInputFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…