Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/facebook/react
/ containsElement
Method
containsElement
packages/react-devtools-shared/src/devtools/store.js:526–528 ·
view source on GitHub ↗
(id: number)
Source
from the content-addressed store, hash-verified
524
}
525
526
containsElement(id: number): boolean {
527
return
this._idToElement.has(id);
528
}
529
530
getElementAtIndex(index: number): Element | null {
531
if
(index < 0 || index >= this.numElements) {
Callers
3
reduceOwnersState
Function · 0.80
OwnersStack.js
File · 0.80
ProfilerContextController
Function · 0.80
Calls
1
has
Method · 0.65
Tested by
no test coverage detected