MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / isHostParent

Function isHostParent

code/communication/public/app.js:11647–11649  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

11645 }
11646
11647 function isHostParent(fiber) {
11648 return fiber.tag === HostComponent || fiber.tag === HostRoot || fiber.tag === HostPortal;
11649 }
11650
11651 function getHostSibling(fiber) {
11652 // We're going to search forward into the tree until we find a sibling host

Callers 2

getHostParentFiberFunction · 0.70
getHostSiblingFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected