MCPcopy Create free account
hub / github.com/Effect-TS/effect / nodeOf

Function nodeOf

packages/effect/src/ui/internal/kernel.ts:1417–1424  ·  view source on GitHub ↗
(rec: Rec)

Source from the content-addressed store, hash-verified

1415
1416/** @internal */
1417export const nodeOf = (rec: Rec): any => {
1418 while (rec.node === undefined) {
1419 rec = rec.kids !== undefined
1420 ? rec.kids[0]!
1421 : rec.inst.rendered!
1422 }
1423 return rec.node
1424}
1425
1426const lastNodeOf = (rec: Rec): any => {
1427 while (rec.node === undefined) {

Callers 5

failFunction · 0.85
settleFunction · 0.85
refreshFunction · 0.85
replaceFunction · 0.85
patchListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected