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

Function normalizeSelectorText

src/utils/selector-build.ts:77–82  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

75}
76
77function normalizeSelectorText(value: string | undefined): string | null {
78 if (!value) return null;
79 const trimmed = value.trim();
80 if (!trimmed) return null;
81 return trimmed;
82}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…