MCPcopy Index your code
hub / github.com/nodejs/node / isNodeWithin

Function isNodeWithin

tools/eslint-rules/no-cryptokey-public-accessors.js:44–47  ·  view source on GitHub ↗
(node, ancestor)

Source from the content-addressed store, hash-verified

42}
43
44function isNodeWithin(node, ancestor) {
45 return node.range[0] >= ancestor.range[0] &&
46 node.range[1] <= ancestor.range[1];
47}
48
49function exits(statement) {
50 if (!statement) return false;

Callers 1

isInCryptoKeyBranchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…