MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / findStringIndex

Function findStringIndex

src/utils/nskeyedarchiver-parser.ts:65–67  ·  view source on GitHub ↗

* Finds the index of a string in the $objects array

(objects: unknown[], value: string)

Source from the content-addressed store, hash-verified

63 * Finds the index of a string in the $objects array
64 */
65function findStringIndex(objects: unknown[], value: string): number {
66 return objects.findIndex((obj) => obj === value);
67}
68
69/**
70 * Finds a dictionary that has the given key index in its NS.keys array

Callers 3

parseXcuserstateFunction · 0.85
parseXcuserstateBufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected