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

Function isHostParent

code/new-context-api/public/app.js:10973–10975  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

10971 }
10972
10973 function isHostParent(fiber) {
10974 return fiber.tag === HostComponent || fiber.tag === HostRoot || fiber.tag === HostPortal;
10975 }
10976
10977 function getHostSibling(fiber) {
10978 // 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