MCPcopy Index your code
hub / github.com/callstack/agent-device / isTouchTargetCommand

Function isTouchTargetCommand

src/replay/script-utils.ts:27–29  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

25}
26
27export function isTouchTargetCommand(command: string): command is 'click' | 'press' | 'longpress' {
28 return isClickLikeCommand(command) || command === 'longpress';
29}
30
31function isTypingCommand(command: string): command is 'type' | 'fill' {
32 return command === 'type' || command === 'fill';

Callers 3

healReplayActionFunction · 0.90

Calls 1

isClickLikeCommandFunction · 0.85

Tested by

no test coverage detected