MCPcopy Create free account
hub / github.com/caseywebdev/react-list / getLeafNode

Function getLeafNode

docs/index.js:5586–5589  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

5584 return !0;
5585}
5586function getLeafNode(node) {
5587 for (; node && node.firstChild; ) node = node.firstChild;
5588 return node;
5589}
5590function getNodeForCharacterOffset(root, offset) {
5591 var node = getLeafNode(root);
5592 root = 0;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…