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

Function isHostParent

code/dependency-injection/public/app.js:11705–11707  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

11703 }
11704
11705 function isHostParent(fiber) {
11706 return fiber.tag === HostComponent || fiber.tag === HostRoot || fiber.tag === HostPortal;
11707 }
11708
11709 function getHostSibling(fiber) {
11710 // 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