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

Function updateQuoteState

src/utils/selectors-parse.ts:235–238  ·  view source on GitHub ↗
(currentQuote: '"' | "'" | null, ch: '"' | "'")

Source from the content-addressed store, hash-verified

233}
234
235function updateQuoteState(currentQuote: '"' | "'" | null, ch: '"' | "'"): '"' | "'" | null {
236 if (!currentQuote) return ch;
237 return currentQuote === ch ? null : currentQuote;
238}
239
240function unquote(value: string): string {
241 const trimmed = value.trim();

Callers 2

splitByFallbackFunction · 0.85
tokenizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…