MCPcopy Create free account
hub / github.com/microsoft/SandDance / isHostParent

Function isHostParent

docs/external/js/react-dom.development.js:20368–20370  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

20366 }
20367
20368 function isHostParent(fiber) {
20369 return fiber.tag === HostComponent || fiber.tag === HostRoot || fiber.tag === HostPortal;
20370 }
20371
20372 function getHostSibling(fiber) {
20373 // We're going to search forward into the tree until we find a sibling host

Callers 2

getHostParentFiberFunction · 0.85
getHostSiblingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected