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

Function isTarget

tools/eslint-rules/prefer-primordials.js:24–26  ·  view source on GitHub ↗

* @returns {boolean}

(map, varName)

Source from the content-addressed store, hash-verified

22 * @returns {boolean}
23 */
24function isTarget(map, varName) {
25 return map.has(varName);
26}
27
28/**
29 * @returns {boolean}

Callers 3

[identifierSelector]Function · 0.85
MemberExpressionFunction · 0.85
VariableDeclaratorFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…