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

Function isHostParent

code/composition/public/app.js:11750–11752  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

11748 }
11749
11750 function isHostParent(fiber) {
11751 return fiber.tag === HostComponent || fiber.tag === HostRoot || fiber.tag === HostPortal;
11752 }
11753
11754 function getHostSibling(fiber) {
11755 // 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