MCPcopy Index your code
hub / github.com/react/react / printSelectedMarker

Function printSelectedMarker

packages/react-devtools-shared/src/devtools/utils.js:113–118  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

111 let rootWeight = 0;
112
113 function printSelectedMarker(index: number): string {
114 if (state === null) {
115 return '';
116 }
117 return state.inspectedElementIndex === index ? `→` : ' ';
118 }
119
120 function printErrorsAndWarnings(element: Element): string {
121 const {errorCount, warningCount} =

Callers 1

printStoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected