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

Function printOwnersList

packages/react-devtools-shared/src/devtools/utils.js:94–101  ·  view source on GitHub ↗
(
  elements: Array<Element>,
  includeWeight: boolean = false,
)

Source from the content-addressed store, hash-verified

92}
93
94export function printOwnersList(
95 elements: Array<Element>,
96 includeWeight: boolean = false,
97): string {
98 return elements
99 .map(element => printElement(element, includeWeight))
100 .join('\n');
101}
102
103export function printStore(
104 store: Store,

Callers 1

getFormattedOwnersListFunction · 0.85

Calls 3

printElementFunction · 0.85
joinMethod · 0.80
mapMethod · 0.65

Tested by 1

getFormattedOwnersListFunction · 0.68