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

Function getIdentifierArgument

tools/eslint-rules/no-keyobject-public-accessors.js:47–50  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

45}
46
47function getIdentifierArgument(node) {
48 const arg = node.arguments[0];
49 return arg?.type === 'Identifier' ? arg.name : undefined;
50}
51
52function isNodeWithin(node, ancestor) {
53 return node.range[0] >= ancestor.range[0] &&

Callers 2

getConsequentKeyObjectsFunction · 0.70
getAlternateKeyObjectsFunction · 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…