MCPcopy Index your code
hub / github.com/simstudioai/sim / readName

Function readName

apps/sim/tools/workday/soap.ts:341–358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

339 }
340
341 function readName(): string {
342 const start = i
343 while (i < len) {
344 const c = xml[i]
345 if (
346 c === ' ' ||
347 c === '\t' ||
348 c === '\n' ||
349 c === '\r' ||
350 c === '>' ||
351 c === '/' ||
352 c === '='
353 )
354 break
355 i++
356 }
357 return xml.slice(start, i)
358 }
359
360 function readAttributes(): Record<string, string> {
361 const attrs: Record<string, string> = {}

Callers 2

readAttributesFunction · 0.85
parseNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected